Doppler's Heroku integration is a great way for Heroku users to sync a config's secrets with a Heroku app's config vars. Syncing with Heroku also adds another layer of high availability for your service, as now Heroku will also have the latest copy of your secrets. Our Heroku integration is a standalone service, that does not require the use of the Doppler CLI. Setup is quick and takes less than 3 minutes.
- You have an account setup at Heroku and have deployed some code
You can quickly move your secrets to Doppler by exporting your app's config vars via the Heroku CLI.
heroku config --json
You can then upload those secrets to Doppler by clicking the Upload JSON/env file button.
In your project, navigate to Integrations and select "Heroku":
We will redirect you to Heroku to authorize Doppler to your account:
In the next screen, you can select your Heroku App you would like to integrate with a specific Doppler config:
Select your Heroku App and the Doppler config you would like to integrate with. Hit "Setup Integration" and you are all set!
Heroku Sync currently does not support Heroku Review Apps.
Note that Doppler will not overwrite secrets from installed Heroku Addons, as well as the following secrets when syncing to Heroku:
Heroku app's id
Heroku app's name
Heroku app's current release created date
Heroku app's current release version
Heroku app's current release commit
Heroku app's current release description
Now you are all set up on Heroku. Every time you update your secrets in Doppler, we will automatically update them in your Heroku App.
Updated about a month ago