gateway.openapi_Gateway
Get Secret
Retrieves a secret by name. Note that the value field is not returned in the response for security reasons. Only the name and key_name fields are included.
get/v1/accounts/{account_id}/secrets/{secret_id}
Path parameters
account_idstring required
The Account Id
secret_idstring required
The Secret Id
Query parameters
readMaskstring
The fields to be returned in the response. If empty or "*", all fields will be returned.
Response
A successful response.
Example response
{
"value": "sk-1234567890abcdef"
}Changes
Changed in 1 of the 27 revisions of this API.3
- ○
the endpoint scheme security
BearerAuthwas added to the APIapi-security-added
- ○
api tag
gateway.openapi_Gatewayaddedapi-tag-added
- ○
api tag
Gatewayremovedapi-tag-removed
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○