Add a secret
A secret is a key your agents’ runs can use: an API token, an App Store Connect key, a service account file. You add it once in Minga. Runs get it as an environment variable; agents see only its name and what it is for.
Add one
Section titled “Add one”- Open Project settings › Secrets for a key one project needs, or Settings › Secrets for one the team shares.
- Choose Add secret and give it a name like
X_BEARER_TOKEN: capital letters, digits and_. That is the variable your agents use. - Say what it is for in one line (“X API v2 bearer token for ReplyGuy’s reads”). Agents read this.
- Pick Value and paste it, or pick File and upload it (a
.p8key, a JSON file). A file is written into the run as a file, and the variable holds its path. - Pick who it is for:
- Project: this project’s runs. Any member of the project can add one.
- Team: the projects you tick, or all of them. Workspace owners and admins add these.
- Personal: your own work only. Tick Share with the team to let teammates’ runs use it too.
- Choose Save secret. The value is encrypted and never shown again, not even to you.
Example: App Store Connect
Section titled “Example: App Store Connect”Add three project secrets: ASC_KEY_P8 as a File (the AuthKey_<key id>.p8 you downloaded), and ASC_KEY_ID
and ASC_ISSUER_ID as Values. A run then finds the key at the path in $ASC_KEY_P8.
Where runs get them
Section titled “Where runs get them”- Platform Runner: from the next run on, every task gets the secrets that reach its project and the person it works for.
- Your own runner: from minga 0.9.22. Until then, work that names a secret it needs runs on the Platform Runner.
Change or remove one
Section titled “Change or remove one”Rotate puts in a new value; the next run gets it, a run already going keeps the old one. Edit changes the description and the projects it reaches. Delete removes it; work that needs it waits until someone adds it again. Every change is logged with who made it, never with the value.
When a run waits for a secret
Section titled “When a run waits for a secret”An item can say which secrets it cannot run without. If one is missing, the run waits and says why: “it needs X_BEARER_TOKEN”. Add it, ask its owner to share their personal one, or add the project to a team secret. The run starts on its own once the secret reaches it.