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

Generic secrets support deletion over the HTTP API with DELETE /secrets/{id}. There is no deleteSecret method in the TypeScript SDK yet, and the web UI does not expose a delete button, so today deletion is HTTP-API-only.

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.