Store a key or a setting for an app
Keep an app's API keys and passwords out of its code, and its plain settings right next to them.
Who can do it: Someone whose console role allows managing secrets (secret.manage) for that app.
Step by step
-
Open the app
Go to “Applications”, open the app and scroll to “Secrets”. The list shows only names, environments and where each value is kept.
-
Add a secret
Click “Add secret”. Fill in the Name, pick the Layer and paste the value, then click “Add secret”. Where “Stored in” says “Provider-managed”, the cloud provider keeps the values: pick one environment, as the * layer for all of them isn't accepted.
-
Replace or delete it
“Set value” next to a secret overwrites its value, “Delete” removes the secret.
-
Plain settings go in Vars
Settings that aren't secret, such as an address or a switch, go under “Vars”. Only the vars the app declares can be added, and they aren't encrypted: anyone who can open the page sees them.
Good to know
- Once saved, a secret's value is never shown again, not even to you.
- A value for one environment overrides the * layer, where the * layer is available.
Go through it with our engineer.
Half an hour with the person who builds the platform. Bring your identity provider, your cloud, your security questionnaire or a repository.