Retrieve a specific secret by id
curl --request GET \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "357f3594-ae22-4cb1-a193-0b9273fc785d",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "vvhqmmhaua",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-08-15T10:44:12.935-07:00",
"updated_at": "2025-08-15T10:44:12.935-07:00"
}
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
secret found
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "357f3594-ae22-4cb1-a193-0b9273fc785d",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "vvhqmmhaua",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-08-15T10:44:12.935-07:00",
"updated_at": "2025-08-15T10:44:12.935-07:00"
}
}
}