One store
There is no second, weaker place to put a value. Everything you set goes to the same place and gets the same treatment.
This is why the dashboard shows one panel called Environment variables and
the API endpoint is called
/api/v1/secrets. Same store, two names.
Reading them in your app
Secrets arrive as ordinary environment variables. There is nothing to mount, unseal, or call.Rotating a credential
1
Issue the new credential
Create it in the provider: Stripe, your OAuth app, wherever it comes from.
Leave the old one active for now.
2
Set the new value
Update it in the dashboard, or
PUT it over the API. Storing it does not
change what the running app is using.3
Redeploy
The new value reaches your app when it next starts. Until then the running
container still holds the old one.
4
Revoke the old credential
Once the new deployment is live and healthy, revoke the old one at the
provider.
The redeploy in step three is not optional. A container’s environment is fixed
for the life of that revision; there is no mechanism that swaps a value under
a running app.
What is not tracked
Deleting an application deletes its stored values along with everything else it owned.Environment variables
Setting values, and the ones Antideploy injects for you.