latestOpenAPI 3.0.3GitGuardian2026-08-201871515.0 MB

511b067cdcb1

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

vault_typestring

The type of vault (e.g., HashiCorp Vault, AWS Secrets Manager)

vault_namestring

The name or identifier of the vault instance

pathstring

The path within the vault where the secret is stored

Example response

[
  {
    "vault_type": "HashiCorp Vault",
    "vault_name": "prod-vault-01",
    "path": "secret/data/myapp/database"
  }
]