Penv Cloud
Start free
Docs
Reference

Heroku config vars

Move secrets to and from one Heroku app's config vars.

Move secrets to and from one Heroku app's config vars.

Connection

WhatThis provider
VendorHeroku
Keyheroku-config-vars
Availabilityavailable. You can connect it today.
Credential we holdheroku-token
Values read backyes
Activationrestart-on-write

Directions

DirectionWhat it does
importWe read names and values out of the store into your environment.
exportWe write names and values from your environment into the store.

Activation

restart-on-write. When we write a value, the workload restarts.

Conflict policies

DirectionPolicies you can pick
importskip_existing, new_version, fail
exportcreate_only, overwrite, overwrite_and_prune

How syncs work says what each one does.

Connect

Paste a credential from the vendor. We seal it and never show it again.

FieldLabelKindRequiredWhat it is
tokenHeroku API tokensecret; we mask it here and seal ityesNeeds global or write-protected scope. A write token can deploy the app but cannot touch its config vars.

Mapping fields

You answer these once per environment you map.

FieldLabelKindRequiredAdvancedWhat it is
appApptextyesnoOne app per sync. Changing a config var restarts it.

Required permissions

We probe for these when we verify the connection.

PermissionDirectionsBlockingWithout it
apps:readevery directionyesThe token cannot reach your apps at all.
read-protectedimportyesImport cannot read config vars, because a plain read token is refused for them.
write-protectedexportyesExport cannot write anything.