How to sync secrets from Infisical to Heroku
Prerequisites:
Authorize Infisical for Heroku
Navigate to your project’s integrations tab in Infisical.
Press on the Heroku tile and grant Infisical access to your Heroku account.
If this is your project’s first cloud integration, then you’ll have to grant Infisical access to your project’s environment variables. Although this step breaks E2EE, it’s necessary for Infisical to sync the environment variables to the cloud platform.
Start integration
Select which Infisical environment secrets you want to sync to which Heroku app and press create integration to start syncing secrets to Heroku.
Here’s some guidance on each field:
/
(for secrets that do not reside in a folder) or /foo/bar
(for secrets nested in a folder, in this case a folder called bar
in another folder called foo
).Prerequisites:
Authorize Infisical for Heroku
Navigate to your project’s integrations tab in Infisical.
Press on the Heroku tile and grant Infisical access to your Heroku account.
If this is your project’s first cloud integration, then you’ll have to grant Infisical access to your project’s environment variables. Although this step breaks E2EE, it’s necessary for Infisical to sync the environment variables to the cloud platform.
Start integration
Select which Infisical environment secrets you want to sync to which Heroku app and press create integration to start syncing secrets to Heroku.
Here’s some guidance on each field:
/
(for secrets that do not reside in a folder) or /foo/bar
(for secrets nested in a folder, in this case a folder called bar
in another folder called foo
).Using the Heroku integration on a self-hosted instance of Infisical requires configuring an API client in Heroku and registering your instance with it.
Create an API client in Heroku
Navigate to your user Account settings > Applications to create a new API client.
Create the API client. As part of the form, set the OAuth callback URL to https://your-domain.com/integrations/heroku/oauth2/callback
.
Add your Heroku API client credentials to Infisical
Obtain the Client ID and Client Secret for your Heroku API client.
Back in your Infisical instance, add two new environment variables for the credentials of your Heroku API client.
CLIENT_ID_HEROKU
: The Client ID of your Heroku API client.CLIENT_SECRET_HEROKU
: The Client Secret of your Heroku API client.Once added, restart your Infisical instance and use the Heroku integration.
How to sync secrets from Infisical to Heroku
Prerequisites:
Authorize Infisical for Heroku
Navigate to your project’s integrations tab in Infisical.
Press on the Heroku tile and grant Infisical access to your Heroku account.
If this is your project’s first cloud integration, then you’ll have to grant Infisical access to your project’s environment variables. Although this step breaks E2EE, it’s necessary for Infisical to sync the environment variables to the cloud platform.
Start integration
Select which Infisical environment secrets you want to sync to which Heroku app and press create integration to start syncing secrets to Heroku.
Here’s some guidance on each field:
/
(for secrets that do not reside in a folder) or /foo/bar
(for secrets nested in a folder, in this case a folder called bar
in another folder called foo
).Prerequisites:
Authorize Infisical for Heroku
Navigate to your project’s integrations tab in Infisical.
Press on the Heroku tile and grant Infisical access to your Heroku account.
If this is your project’s first cloud integration, then you’ll have to grant Infisical access to your project’s environment variables. Although this step breaks E2EE, it’s necessary for Infisical to sync the environment variables to the cloud platform.
Start integration
Select which Infisical environment secrets you want to sync to which Heroku app and press create integration to start syncing secrets to Heroku.
Here’s some guidance on each field:
/
(for secrets that do not reside in a folder) or /foo/bar
(for secrets nested in a folder, in this case a folder called bar
in another folder called foo
).Using the Heroku integration on a self-hosted instance of Infisical requires configuring an API client in Heroku and registering your instance with it.
Create an API client in Heroku
Navigate to your user Account settings > Applications to create a new API client.
Create the API client. As part of the form, set the OAuth callback URL to https://your-domain.com/integrations/heroku/oauth2/callback
.
Add your Heroku API client credentials to Infisical
Obtain the Client ID and Client Secret for your Heroku API client.
Back in your Infisical instance, add two new environment variables for the credentials of your Heroku API client.
CLIENT_ID_HEROKU
: The Client ID of your Heroku API client.CLIENT_SECRET_HEROKU
: The Client Secret of your Heroku API client.Once added, restart your Infisical instance and use the Heroku integration.