← back to docs

Guide: Sync to AWS Secrets

In this guide, you'll learn how to sync secrets to AWS Secrets.

Step 1

Visit your project page and click Add integration on the right hand part of the screen.

On the next page, click AWS Secrets and follow the prompts.

Step 2

You will be asked to enter an AWS Key ID and AWS Secret Access Key. Generate that at AWS with the SecretsManagerReadWrite permission.

When finished copy the Key ID and Secret Access Key into the form and click Connect.

That completes the steps to authorize Dotenv with AWS Secrets.

Step 3

The last step is to configure AWS Secrets in Dotenv.

Choose an AWS region and then enter yourapp/environment for the AWS Secret path.

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. We hope you get stoked on it! 😎

← read more docs

† admins only ‑ owners only