Skip to content

vault_list_secrets

vault_list_secrets returns the names, versions, and timestamps of all secrets in the active app. It never returns values.


ParameterTypeRequiredDescription
filterstringNoReturn only secrets whose name contains this substring

{
"secrets": [
{
"name": "DATABASE_URL",
"version": 1,
"created_at": "2026-04-01T09:00:00Z",
"updated_at": "2026-04-09T14:32:00Z"
},
{
"name": "OPENAI_API_KEY",
"version": 1,
"created_at": "2026-04-01T09:00:00Z",
"updated_at": "2026-04-01T09:00:00Z"
}
]
}
FieldDescription
secretsArray of secret metadata objects
secrets[].nameSecret name
secrets[].versionIncremented each time the secret is updated
secrets[].created_atWhen the secret was first created
secrets[].updated_atWhen the secret was last updated

Values are never included. The active app is set via ov app use or the --app flag when starting ov mcp serve.


Claude calls vault_list_secrets before vault_run to verify that the required secrets exist before attempting to run a command:

“Let me check what secrets are available before running the migrations.” → calls vault_list_secrets → sees DATABASE_URL is present → calls vault_run