v1
latestOpenAPI 3.1.02026-07-22115189303.8 KBFunctions
List function secrets
Retrieve all secret names configured for this function. Secret values are NEVER included in list responses for security.
Secrets are injected as environment variables when your function executes. Use this endpoint to:
- Audit which secrets are configured
- Verify secret names before creating new ones
- Check secret types (text, json, inherited)
Important: If the function is not deployed, this endpoint returns an empty array. Secrets can only be managed for deployed functions.
Secret values are only returned once when creating a secret via POST /functions/{id}/secrets. After creation, values cannot be retrieved - only the secret name and type are visible.
get/functions/{function_id}/secrets
Response
Secrets retrieved successfully (values not included)