Skip to content

list_secrets

Kelly Ferrone edited this page Sep 17, 2026 · 2 revisions

secret://secrets

The secrets this caller may bind.

MCP resource secret://secrets
HTTP GET /secrets

The secrets you can bind to a field, by name.

You never see a value — not here, not anywhere. Each entry gives the secret's name, the keys inside it, what it is for, and the sites it may be used on.

To use one, do NOT ask for it: name it where the value would go. Pass write a secret instead of text — secret={'name': ..., 'key': ...} — or in a saved flow put the same thing in that step's args. The server reads it and types it; it never passes through you, which is the point.

A secret listing allowed_urls may only be used on those sites. One that is not restricted may be used anywhere. If an entry carries allowed_urls_rejected, its leash is broken and it cannot be used at all until an operator fixes the file.

Parameters

This action takes no parameters.

Every call names its session: an X-Session-Key header, or ?session=<name>. Sending both is refused. See Sessions.

Returns

Field Type Notes
count integer
session string
secrets array

Errors

Status Means
400 No session named, two names given, or a server started with no SECRETS_DIRS, so there are no secrets to list.
401 Missing or wrong bearer token.
500 Something failed that this server did not expect.

Over MCP the same failures arrive as a tool error.

Example

MCP

read secret://secrets

read_resource(uri="secret://secrets")

HTTP

curl -X GET $SELENIUM_FLOW/secrets \
  -H "Authorization: Bearer $TOKEN" \
  -H "X-Session-Key: $SESSION"

← All actions · Installing · Deployment

Clone this wiki locally