Hanzo
OpenapiFunctions

Is the NAMES of the secrets the caller org's functions mount.

Is the NAMES of the secrets the caller org's functions mount.

GET /v1/functions/secrets

Addresshttps://api.hanzo.ai/v1/functions/secrets
MethodGET
Operationget_functions_secrets
AuthAuthorization: Bearer $HANZO_API_KEY

Is the NAMES of the secrets the caller org's functions mount.

Values are NEVER read or returned — this surface knows which names a function asks for and nothing about what is behind them, which is what makes it safe to list at all. One row per distinct (namespace, name).

Request

GET /v1/functions/secrets takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200secretListok

200 body — 4 fields.

FieldInTypeAlwaysDescription
secretsbodysecretView[]Secrets is one row per distinct (namespace, name) a function mounts.
secrets[].mountedBybodystringMountedBy is a function that mounts it.
secrets[].namebodystringName is the environment variable the function mounts.
secrets[].namespacebodystringNamespace is the group the mounting function belongs to.

Failure carries the platform error shape — see Errors.

Examples

hanzo functions secrets

Functions API · All Hanzo APIs · Interactive reference

How is this guide?

On this page