Beta

Create a tenant

A new tenant starts with its own users, OAuth settings, audit history and logs. You are its first Tenant Admin.

Identities for software

People are only part of what signs in to an organization's systems. Backup jobs, interfaces, pipelines and assistants hold accounts and credentials too, and because nobody joins or leaves on their behalf, they need owners, purposes and narrow access as deliberately as people do.

The other accounts

All names and identifiers in these examples are fictional. When Harbor Clinic counted its identities for its first access review, it found about four hundred people: staff, contractors and a few volunteers. Then Jordan Ellis in IT ran the same count over the directory, the cloud platform and the patient records system without filtering out anything that was not a person, and the number passed two thousand.

The rest were software. A nightly backup job signed in as svc-backup. The interface that receives blood test results from the outside laboratory had a client ID and secret of its own, the same kind of client credentials an OAuth client uses to authenticate itself. The appointment reminder service held an API key, a long secret value sent with each request, for the text message provider. The pipeline that deploys the patient portal used a cloud access token that an engineer had created from their own account. A new assistant, an AI agent that drafts discharge letters for clinicians, called the records system on their behalf. Each of these acts on the clinic's systems all day and night, and each needed the same three questions that Identities, accounts, and entitlements asked about people: which account is this, what may it do, and who answers for it?

These are usually called non-human identities, or machine identities, and in most organizations they outnumber people many times over. They are also where governance is weakest, because nobody joins or leaves to remind anyone that they exist.

Kinds of software identity

Jordan sorted the two thousand into a few kinds, each with its own habits:

The kinds of software identity at Harbor Clinic
KindExample at the clinicHow it proves itselfTypical risk
Service accountsvc-backup in the directoryA password, like a person's accountBroad rights, a password that never changes, used interactively by people
API key or client secretThe results interface's client secret, the reminder service's API keyA shared secret sent with each requestCopied into configuration, chat and code; works from anywhere
Pipeline tokenThe deployment pipeline's cloud tokenA token stored in the pipeline's settingsBorrowed from a person, so actions are recorded under their name
Workload identityThe portal's programs running on the cloud platformShort-lived credentials the platform issues because it knows which program is askingTrust conditions written too broadly
AgentThe discharge letter assistantTokens a clinician delegated to it, so it acts for that clinicianDoing more than the person asked, with the person's authority

The first three are the oldest and the most common, and they share one weakness: a secret that proves only that the holder has the secret. The last two are newer designs that try to avoid stored secrets, and they bring questions of their own: what exactly the platform vouches for, and whose authority the software is using.

What makes them different

Software identities follow the same ideas as people's, with four differences that change how they are governed.

Nobody is there to prompt. A person can type a password, answer a challenge or approve a sign-in; a backup job at two in the morning cannot. Software must hold or obtain its credential by itself, so the protections built for people, such as passkeys and checks on unfamiliar sign-ins, mostly do not apply.

No event marks their beginning and end. People are hired and leave, and the HR system says so. A service account is created by whoever needed it that afternoon, and when the system it served is retired, nothing tells anyone to remove it. The clinic found forty-one accounts for applications it no longer ran.

Ownership is not automatic. A person answers for their own account. A service account answers to nobody unless someone is named, and Jordan found that a third of the clinic's had no owner anyone could identify, including svc-backup, which held domain administrator rights: control over every account and group in the directory.

And software is often given a person's access to get something working. The deployment pipeline's token carried the engineer's full rights, and the cloud platform's audit log said the engineer deployed the portal at three every morning. Borrowing a person's account makes the records wrong and the access far too broad, and it breaks the day that person leaves.

Governing them like people

The clinic's fix was to hold software identities to the same lifecycle as people, adapted to the differences. Every one now has an owner, a named person or team who answers for it and is asked about it in each access review. Every one has a recorded purpose and the system it serves, so it can be removed when that system goes. Each gets only the access its job needs, which is usually far less than whoever created it had. And each uses the strongest credential the systems it talks to will accept: short-lived credentials where the platform can vouch for the software, and otherwise keys or secrets kept in a vault, a service that stores secrets and releases each one only to the software allowed to use it.

Jordan's team also stopped two habits. People no longer sign in interactively as service accounts, which is the only way svc-backup had been used for anything other than backups. And automation no longer runs on a person's account: the deployment pipeline received an identity of its own, so the records now name the pipeline and the engineer's departure will not stop the deployments.

Token borrowed from an engineer

Audit log names
The engineer
Access
All of the engineer's rights
Owner
Nobody named
When the engineer leaves
Deployments stop

Wrong records, far too much access

An identity of its own

Audit log names
The pipeline
Access
Only deploying the portal
Owner
A named team
When the engineer leaves
Deployments continue

Records and access match the job

Borrowing a person's account makes the records wrong and the access far too broad.

The deployment pipeline on a token borrowed from an engineer, and with an identity of its own. Only the second gives records that name the real actor and access that fits the job.

These steps decide who answers for each software identity and what it may do. How software authenticates without stored secrets, how agents act for people, and how both are traced and retired are covered in depth in Workload and agent identities. The vaults and rotation that protect the secrets software still holds are in Managing secrets for software.

Check your understanding

Try these questions before moving on. If an answer isn't right, use the feedback and try again.

Harbor Clinic's deployment pipeline uses a cloud token created from an engineer's account. The cloud audit log shows that engineer deploying the portal at three every morning. What is the main problem? 1 of 3

Choose one answer.

Jordan finds svc-backup, a service account with domain administrator rights that nobody claims. What should the clinic do first? 2 of 3

Choose one answer.

Jordan finds forty-one service accounts for applications the clinic no longer runs. What would have let the clinic remove them when each application was retired? 3 of 3

Choose one answer.

Try it in the Lab

We value your privacy

We use cookies and similar technologies to enhance your browsing experience, and analytics to understand our traffic. By clicking "Allow all", you consent to optional analytics. Cookie Policy

Learn identity