An SSH key that a provider holds on behalf of a machine, a pipeline or a repository is a non-human identity: it authenticates as itself, and whoever holds the private half has what it grants. NHI Security inventories these keys as identities of kind SSH key, so ownership, findings and access reviews apply to them as they do to any other identity. NHI Security reads public keys only. It derives the algorithm, the size and the SHA-256 fingerprint (the value ssh-keygen -l prints) and does not store the public key itself. It never sees a private key, never logs in with a key, and does not rotate or revoke one.

Where keys come from

Every source except GitLab is off by default, so an existing connector’s credential keeps working until you turn it on and grant the extra permission. The created and last-used dates are recorded where the provider reports them: GitHub gives both, GitLab and EC2 give a creation date, Google Cloud metadata gives neither. GitHub’s added_by and Google’s own google-ssh annotation become owner suggestions, never an assigned owner. Users’ personal SSH keys are not collected: they are a person’s credential, not a machine’s. OS Login keys on Google accounts are not read. Azure gives neither date for a key resource.

Findings

Two existing policies also apply to SSH keys: stale_identity when the provider reports a last use older than the threshold, and owner_departed when the key’s owner has left. See Findings and risk.

In the console

Identities filters by kind; choose SSH key. A key’s credential shows its fingerprint, algorithm and size, and its permissions show the repositories or instances it reaches. An access review can be scoped to the SSH key kind alone.

How this was verified

Each connector’s SSH key reading is tested against provider responses written to each API’s documented response shape, with throwaway public keys whose fingerprints were checked against ssh-keygen. None has been run against a live GitHub organization, GitLab instance, AWS account, Google Cloud project or Azure subscription.