Returns information about a specific secret. The API response does not return the secret's data field.
GET https://api-<BlueCat.edge.url>/v1/api/secrets/{id}
Authorization: Bearer authorization token
Successful response
200 OK
Content-Type: application/JSON
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"secretsProfileId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"dateCreated": 946684800000,
"dateNameLastModified": 946684800000,
"dateDataLastModified": 946684800000,
"dateLastDecrypted": 946684800000
}
Possible error codes:
- BAD REQUEST - Invalid request
- NOT FOUND - Secret can't be found
- INTERNAL SERVER ERROR - Unexpected error