Documentation

We are here to help you get from zero to one fast.

Get Started    Discussions

Heroku (old)

read time 3 mins

Enclave's Heroku Sync is a great way for Heroku users to sync a config's secrets with a Heroku app's config vars. Syncing Enclave with Heroku also adds another layer of high availability for your service, as now Heroku will also have the latest copy of your secrets. Using Heroku Sync is a standalone service, that does not require the use of the Doppler CLI. Setup is quick and takes less than 5 minutes.

Prerequisites

Connect to Heroku

To get started, go to a project and then select a config. Once on the cloud tab, Doppler will ask you to connect your Heroku account. This will grant us access to your Heroku apps.

Select App

Next, we want to select a Heroku app to sync with. Heroku sync is bidirectional, meaning if a Heroku addon is created, it will show up in your config's secrets as well.

🚧

Review Apps

Heroku Sync currently does not support Heroku Review Apps.

Start Sync

Now we should click the "Save" button. This will initiate the sync and pull in any secrets already in your Heroku app's config vars.

Doppler will automatically ignore the following secrets pulled from Heroku.

Secret

Description

HEROKU_APP_ID

Heroku app's id

HEROKU_APP_NAME

Heroku app's name

HEROKU_RELEASE_CREATED_AT

Heroku app's current release created date

HEROKU_RELEASE_VERSION

Heroku app's current release version

HEROKU_SLUG_COMMIT

Heroku app's current release commit

HEROKU_SLUG_DESCRIPTION

Heroku app's current release description

👍

Amazing Work!

Now you are all set up on Heroku Sync.

Updated 6 days ago


Heroku (old)


read time 3 mins

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.