Skip to content

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.

  1. Open Project settings › Secrets for a key one project needs, or Settings › Secrets for one the team shares.
  2. Choose Add secret and give it a name like X_BEARER_TOKEN: capital letters, digits and _. That is the variable your agents use.
  3. Say what it is for in one line (“X API v2 bearer token for ReplyGuy’s reads”). Agents read this.
  4. Pick Value and paste it, or pick File and upload it (a .p8 key, a JSON file). A file is written into the run as a file, and the variable holds its path.
  5. 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.
  6. Choose Save secret. The value is encrypted and never shown again, not even to you.

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.

  • 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.

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.

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.

Claude Code is a trademark of Anthropic; Codex of OpenAI. Minga is not affiliated.

PrivacyImprintTerms