List Secrets
secrets_listLists the metadata for an app's secrets and plain environment
variables: secret_id, scope (app/env), key, is_secret,
inherited, overridden_by_environment, created_by,
created_at, updated_at. NEVER includes a value. This is a
metadata-only listing, identical in spirit to what the secrets
dashboard table shows before you reveal one. Takes the app_id
returned by apps_list.
Without environment_id, it lists the app-level entries, which
every environment inherits (inherited: false,
overridden_by_environment: null). Pass environment_id (from
environments_list) for what that environment really gets: its own
entries plus every app-level entry, marked inherited: true. An
app-level entry whose key the environment sets too stays listed,
with overridden_by_environment: true: the environment's entry wins
at deploy. Those entries are sorted by key, so an override sits next
to what it replaces, and count counts every entry.
The variables Meridian itself injects at deploy are not here: call
managed_variables_list for that other half.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_id": "<app_id>"
},
"name": "secrets_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app uuid returned by `apps_list`. | |
| environment_id | No | List what this environment gets: its own entries plus the app-level ones it inherits. Uuid returned by `environments_list`. | |
| organization_id | No | An organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app. |