Skip to main content
Amika stores two kinds of secrets in the vault. This page is the reference; for a walkthrough see Manage secrets.

Generic vs provider secrets

There is no delete endpoint for generic secrets. They can be created, listed, and updated, but not removed once pushed. Provider secrets (Claude / Codex) can be deleted.

Scope model

Generic secrets and extracted secrets carry a scope:

amika secret push

Push generic secrets from inline arguments, environment variables, or a .env file.
When multiple sources are used, positional arguments override --from-file values, and --from-env overrides both.

amika secret extract

Discover locally stored credentials and optionally push them to the vault. Shares its discovery logic with amika auth extract.

amika secret claude / amika secret codex

Manage provider credentials. Both share the same shape; only the provider segment differs.

push

--value and --from-file are mutually exclusive.

list / delete

SDK equivalents

See the client reference for full signatures.