Why have my Heroku Key-Value Store credentials changed?

Issue

You have a provisioned Heroku Key-Value Store instance, and credentials have changed.

Resolution

Occasionally we will roll Heroku Key-Value Store (KVS) credentials for several reasons. Normally this can happen if the KVS instance goes through maintenance (for example, in the case of hardware failures) but we also perform cred rolls for security reasons.

This can cause issues if you have manually copy and pasted these credentials elsewhere, or have hardcoded them into your application.

When credentials are rotated, Heroku will automatically update the configuration variables related to your KVS add-on (this is REDIS_URL, or any other corresponding config variable for the add-on attachment). This process will trigger a new release and will restart your application.

You can retrieve the KVS connection string using either of the following methods:

  • Running the heroku redis:credentials CLI command (for more information, see redis:credentials)
  • Inspecting your app’s config vars by running the command heroku config:get REDIS_URL -a example-app.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support