GET
/
secrets
/
{secret_id}
cURL
curl --request GET \
  --url https://api.datagrid.com/v1/secrets/{secret_id} \
  --header 'Authorization: Bearer <token>'
{
  "object": "secret",
  "id": "<string>",
  "created_at": "<string>",
  "name": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

secret_id
string
required

The id of the secret to retrieve.

Response

200 - application/json

Successfully retrieved secret

The Secret object represents a securely stored secret that can be referenced in converse API calls.