API
CLI
GET /v1beta/projects/{project}/secrets/{secret}
Example response
200 OK
The full secret including its contents.
JSON
{
"name": "Example secret group",
"description": "This is the secret group description",
"internalId": "example-secret-group",
"secretType": "environment",
"priority": 10,
"restrictions": {
"restricted": false,
"nfObjects": [
{
"nfObjectId": "example-service",
"nfObjectType": "service"
}
]
},
"data": {
"a_key": "a_secret",
"b_key": "b_secret"
}
}