Overview
Reference
- AlertEvents
- AlertGroups
- AlertUrgencies
- AlertSources
- Alerts
- Audits
- Authorizations
- CatalogEntities
- CatalogEntityProperties
- CatalogFields
- Catalogs
- Causes
- [DEPRECATED] CustomFieldOptions
- [DEPRECATED] CustomFields
- CustomForms
- DashboardPanels
- Dashboards
- Environments
- EscalationPolicies
- EscalationLevelsPolicies
- EscalationLevelsPath
- EscalationLevels
- EscalationPaths
- FormFieldOptions
- FormFieldPlacementConditions
- FormFieldPlacements
- FormFieldPositions
- FormFields
- FormSetConditions
- FormSets
- Functionalities
- WorkflowTasks
- [DEPRECATED] WorkflowCustomFieldSelections
- WorkflowFormFieldConditions
- WorkflowGroups
- WorkflowRuns
- Workflows
- Heartbeats
- IncidentActionItems
- [DEPRECATED] IncidentCustomFieldSelections
- IncidentEventFunctionalities
- IncidentEventServices
- IncidentEvents
- IncidentFeedbacks
- IncidentFormFieldSelections
- IncidentPermissionSetBooleans
- IncidentPermissionSetResources
- IncidentPermissionSets
- IncidentRetrospectives
- IncidentRetrospectiveSteps
- IncidentRoleTasks
- IncidentRoles
- IncidentStatusPageEvents
- IncidentSubStatuses
- IncidentTypes
- Incidents
- IpRanges
- LiveCallRouters
- OnCallRoles
- OnCallShadows
- OverrideShifts
- PlaybookTasks
- Playbooks
- RetrospectiveTemplates
- Pulses
- RetrospectiveConfigurations
- RetrospectiveProcessGroupSteps
- RetrospectiveProcessGroups
- RetrospectiveProcesses
- RetrospectiveSteps
- Roles
- ScheduleRotationActiveDays
- ScheduleRotationUsers
- ScheduleRotations
- Schedules
- Shifts
- Secrets
- Services
- Severities
- StatusPageTemplates
- StatusPages
- SubStatuses
- Teams
- UserNotificationRules
- Users
- WebhooksDeliveries
- WebhooksEndpoints
Secrets
Retrieves a secret
Secrets
Retrieves a secret
Retrieve a specific secret by id
GET
/
v1
/
secrets
/
{id}
curl --request GET \
--url https://api.rootly.com/v1/secrets/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": {
"id": "1df8330f-904e-43ce-8cc1-7d00858834f7",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "xgbfiogdde",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-03-07T00:08:57.825-08:00",
"updated_at": "2025-03-07T00:08:57.825-08:00"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Response
200
application/vnd.api+json
secret found
Unique ID of the secret
Available options:
secrets
The name of the secret
Date of creation
Date of last update
The redacted secret
The HashiCorp Vault secret mount path
The HashiCorp Vault secret path
The HashiCorp Vault secret version
Was this page helpful?
curl --request GET \
--url https://api.rootly.com/v1/secrets/%7Bid%7D \
--header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
"data": {
"id": "1df8330f-904e-43ce-8cc1-7d00858834f7",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "xgbfiogdde",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-03-07T00:08:57.825-08:00",
"updated_at": "2025-03-07T00:08:57.825-08:00"
}
}
}