- Generic secrets — arbitrary
KEY=VALUEpairs you can reference from.amika/config.tomlor inject as rig env vars. - Provider secrets — Claude Code / Codex credentials that get auto-injected into rigs so the agent runs without re-authenticating.
Prerequisites
- The CLI logged in (
amika auth login), or an Amika API key for the SDK. - For Claude / Codex pushes: the relevant credentials available on your local machine (config files, keychain, or in your environment).
Push a generic secret
Generic secrets are scoped to your user (user) or your org (org).
--from-env, each environment-variable name becomes the Amika secret
name. For --from-file, each KEY in the file becomes the secret name. Use
that exact name in .amika/config.toml:
The CLI and the SDK can create, list, and update generic secrets, but not
delete them. Delete a generic secret in the web UI, or call
DELETE /api/v0beta1/secrets/{id} on the HTTP API. Provider secrets
(Claude / Codex) can be deleted from the CLI and the SDK too.