1 minute reading time

AWS Secrets - Add-ons

Amazon AWS

AWS Secrets

Sync your secrets to AWS Secrets when an environment variable is changed.



Navigate to the add-ons page. Click AWS Secrets. Then click Connect AWS Secrets.


On the next page, generate your AWS IAM User and paste in the credentials.

Important: The AWS IAM user must have correct permissions. Below is an example. Modify for your security needs.

    "Version": "2012-10-17",
    "Statement": [
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
            "Resource": "*"

Lastly, set up the AWS Secrets config path and region.

That’s it! 🎉 Your secrets are now synced to AWS Secrets and will continue to stay in sync when you modify your secrets.

Thank you for using Dotenv with AWS Secrets.