Skip to main content
GET
/
governance
/
resources
/
{resource_type}
/
{resource_id}
/
secrets
/
{secret_name}
Get secret value
curl --request GET \
  --url https://api.example.com/governance/resources/{resource_type}/{resource_id}/secrets/{secret_name} \
  --header 'Authorization: Bearer <token>'
{
  "name": "<string>",
  "value": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Project-ID
string | null

Path Parameters

resource_type
string
required

Type of resource the secret belongs to

resource_id
string
required

Unique identifier of the resource containing the secret

secret_name
string
required

Name of the secret to retrieve

Response

Successful Response

Secret value response.

name
string
required

Name of the secret

value
string
required

The actual secret value (sensitive data)