For app publishers
What this app needs
The values this app asks for before it can start.
What this is
Many apps need a few pieces of information before they can start: the address of another service, a password, a key from a provider. This page lists them all in one place, with a box for each. Fill in the empty ones and the app can start. You do not have to know anything about how the app reads them.
A secret is a key or password that must stay private. A variable is an ordinary setting such as a name or a web address. Here they sit in one list. Secrets are hidden once saved.
Where to find it
- Open the Apps page and click your app.
- Click the card Build & deploy, then What this app needs.
This page only exists in the Simple view. In the Advanced view the same values are on two pages, Secrets and Variables.
When the app is waiting for a value, a number appears next to What this app needs. It counts the empty values.
What you see
- An explanation: the settings, keys and passwords this app reads when it starts. A key or password is never shown back once saved.
- A yellow notice when something is missing:
- The app cannot start until the value marked below is filled in. (or "the N values marked below are filled in") when the app is waiting on it.
- One value the app asks for is still empty. (or "N values … are still empty") when the app is not waiting on it.
- One box for each value, with its name above it. The empty ones come first, in a yellow frame with a needs a value pill. Some have a short note that says what the value is for.
- A secret's box shows dots. A box that already holds a secret says Saved. Type to replace it. A plain setting shows what is stored.
- If the app can run without a value, the empty box says The app uses … when this is empty.
- Save and redeploy.
- Add, import or remove values in the advanced view.
How to fill in a missing value
- Find the box with the needs a value pill.
- Click in it and type or paste the value.
- Click Save and redeploy. The button says Saving….
- A green message says Saved — the live app is deploying the new configuration now. That takes a minute or two; the status beside the app name follows it.
You know it worked when the status next to the app name changes while it deploys and ends as running, and the needs a value pill is gone. You can follow the deploy under Deploys & logs.
Save and redeploy is greyed out until you have typed something.
How to change a value that is already saved
- Click in its box.
- For a secret, the box is empty even though a value is saved. Type or paste the new value. It replaces the old one. For a plain setting, change the text.
- Click Save and redeploy.
Only the boxes you changed are saved. A secret you did not touch keeps its value.
How to add, import or remove a value
This page cannot do that. Click Add, import or remove values in the advanced view. The page switches to the Advanced view, where Secrets and Variables have the buttons for it.
When something looks wrong
- This app needs no values to start. Nothing to fill in. This is normal for many apps.
- The values could not be saved. Nothing was changed; try again in a moment. Click Save and redeploy again. If it keeps failing, ask your administrator.
- The status stays at needs config after you saved: some other value is still empty. Check the list again for needs a value.
- The deploy ends as failed: the value may be wrong, for example a mistyped key. See the build log under Deploys & logs and correct the value.
- A green message says some address stays on the previous configuration until the next deploy: a deploy is running or the app is stopped. Use Deploy now or Deploy new version on the app page when it is ready.
- … is busy right now and asked for the redeploy to wait: the app is in the middle of a job. cyantula puts the new values live as soon as the app says it is free. Nothing was interrupted.
Good to know
- Only people who manage the app can see and change values.
- Saving always redeploys the live app. If the app has a dev address, that is redeployed too.
- A secret is never shown again once you save it. If you lose it, get a new one from the provider and type it in.
- The list shows the values the live app reads. Values that only a test version reads are on the advanced pages.
- A wrong value can stop the app. Keep the original somewhere safe before you replace it.