NHI Identities
Get the validity of an identity
Changed onRetrieve the validity of the secret an identity holds, and its validity override. validity_override is null when no override is set.
The workspace must have NHI governance activation. The API token must have the Manager access level or above, or be a service account token.
get/v1/nhi/identities/{identity_id}/validity
Request
- Base URLhttps://api.gitguardian.com
- URLhttps://api.gitguardian.com/v1/nhi/identities/{identity_id}/validity
- AuthHTTP bearer
Path parameters
identity_idinteger required
The id of the non-human identity
Response
The validity of the identity.
Example response
{
"identity_id": 1234,
"validity": "invalid",
"validity_override": "invalid"
}Changes
- info
endpoint added
- info