GET
/
api
/
svc
/
v1
/
secrets
/
{id}
curl --request GET \
  --url https://{controlPlaneURL}/api/svc/v1/secrets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "fqn": "<string>",
    "name": "<string>",
    "secretGroupId": "<string>",
    "value": "<string>",
    "createdBySubject": {
      "subjectId": "<string>",
      "subjectType": "user",
      "subjectSlug": "<string>",
      "subjectDisplayName": "<string>"
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "secretVersions": [
      {
        "id": "<string>",
        "fqn": "<string>",
        "value": "<string>",
        "version": 123,
        "secret": {},
        "secretId": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z"
      }
    ],
    "activeDeploymentsCount": 123,
    "createdBy": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Secret Id of the secret.

Response

200
application/json
Returns the Secret associated with provided id
data
object
required

Secret