v1
latestOpenAPI 3.1.02026-07-26106201349.6 KBGateway
List Secrets
Lists all secrets for an account. Note that the value field is not returned in the response for security reasons. Only the name and key_name fields are included for each secret.
get/v1/accounts/{account_id}/secrets
Path parameters
account_idstring required
The Account Id
Query parameters
pageSizeinteger
pageTokenstring
filterstring
Unused but required to use existing ListRequest functionality.
orderBystring
Unused but required to use existing ListRequest functionality.
readMaskstring
The fields to be returned in the response. If empty or "*", all fields will be returned.
Response
A successful response.
Example response
{
"secrets": [
{
"value": "sk-1234567890abcdef"
}
]
}