Retrieve a specific secret by id
curl --request GET \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "fa16181e-f5ef-4f93-bf2e-993012bb84a9",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "awhmtvgqup",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-11-28T18:13:22.990-08:00",
"updated_at": "2025-11-28T18:13:22.990-08:00"
}
}
}Show child attributes
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "fa16181e-f5ef-4f93-bf2e-993012bb84a9",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "awhmtvgqup",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-11-28T18:13:22.990-08:00",
"updated_at": "2025-11-28T18:13:22.990-08:00"
}
}
}