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
Related docs
- Manage secrets — task walkthrough
- Inject credentials — wire secrets into sandboxes
- Authentication — login and credential discovery
- config.toml —
{ secret = "name" }references