Public Secret Incidents
Get vault information for a public secret incident
Returns detailed vault path information if the secret is stored in a vault.
This endpoint requires the NHI (Non-Human Identity) feature to be enabled and the show_vault_path_in_public_api setting to be active. If either condition is not met, an empty array is returned.
get/v1/public-incidents/secrets/{incident_id}/vaults
Path parameters
incident_idinteger required
The id of the incident to retrieve
Response
Vault information for the public secret incident
Example response
[
{
"vault_type": "HashiCorp Vault",
"vault_name": "prod-vault-01",
"path": "secret/data/myapp/database"
}
]