Free & open · no paywall, ever

IntegrAuth Academy

Identity, security and practical AI — free, from zero. Byte-sized lessons, real diagrams, hands-on labs, zero fluff. Two programs, each with its own exam and certificate.

20 tracks 241 lessons 242 hands-on labs 230+ diagrams 100% free

English is hard? Your browser can translate this page into Tamil, Telugu, Kannada, Malayalam or Hindi. Tech words stay in English so you learn the real names.

How?
  • Chrome on phone: ⋮ menu → Translate
  • Chrome on computer: right-click → Translate to …
  • Edge: the translate icon in the address bar
Identity & API Security Track 1 · Foundations
0/166 lessons read
FOUNDATIONS · LESSON 9

Non-human identities — Bot A's chapter

For every human login, companies now run many logins that belong to software. They never quit and never fall for phishing. But nobody watches them. Your goal: list the controls that keep a bot like Bot A safe.

Key points
  • A non-human identity (NHI) is a login that belongs to software.
  • Give every NHI an owner, a vault, rotation and least privilege.
  • Best of all: no stored secret. The platform vouches for the program.
  • Remove old bots. Do not leave zombies.
NHI — Non-Human IdentitiesService account 🔑A login used by software,not a person. Oldest kind;often shared & forgotten —the classic orphan risk.Workload ⚙️An app/container/VMproving itself to otherservices. Best served byshort-lived workload identity.RPA bot 🤖 (Bot A)Software robot doing humantasks in human screens —refunds, reconciliation.Scripted: no judgment.AI agent 🧠 (Kai)Decides how to act,acts for people, can betalked into things.The next lesson is his.All four need the same five things: an identity of their own · an owner · least privilege · a lifecycle · an audit trail.
Figure — The NHI family. Service accounts, workloads, RPA bots and AI agents differ in independence. The care they need is the same.

Bot A gets its life in order

A non-human identity (NHI) is any login that belongs to software, not to a person. It needs the same care as an employee. Here is Bot A's clean-up checklist.

IdeaBot A's version
RegistryA list of every NHI: owner, business sponsor, purpose, allowed systems, risk tier and review date. If it is not on the list, it does not run.
VaultingSecrets live in a guarded safe (the privileged-access vault), never in scripts or config files.
Secret rotationCredentials change automatically and often. Best of all are short-lived credentials fetched just in time. Then there is nothing lasting to steal.
Workload identity federationThe platform itself vouches for the program. Bot A gets tokens without holding any secret.
Least privilege + SoDRefunds up to a limit, in one system, in its nightly window. Nothing else. No bot may request, approve and check the same action.
Lifecycle and orphan detectionThe sponsor re-confirms every quarter. Old bots are removed automatically. An alarm sounds if the sponsor leaves. No zombie bots (the lifecycle lesson applies to machines too).

How a program proves who it is

SPIFFE is an open standard. It gives every workload (a running program) a universal name, like spiffe://acme/refunds/bot-a. It also defines a short-lived digital ID called an SVID. SPIRE is the software that hands out SVIDs. First it checks the workload. Is this really the refunds service, on the approved cluster, from the approved image? This check is called attestation. Only then does SPIRE issue a short-lived SVID. The result: no stored secret anywhere. The identity comes from what the workload provably is, not from something it holds.

Bot A's story

For years, Bot A signed in with a password in a config file. Nobody had changed it since day one. Anyone who read the file could be Bot A. It was like a house key left under the doormat. After the clean-up, Bot A is registered and has a sponsor. It uses a vault and rotates its secrets. It has only the powers of its refund window. The config file holds nothing worth stealing.

Go deeper: HSMs and SVID lifetime

An HSM is a Hardware Security Module. It is a tamper-proof device that guards keys. Think of it as the vault's vault.

An X.509 SVID lasts about one hour by default.

Think of it like…

a canteen that knows staff by face at the till, not by swipe card. There is no card to lose or steal. Recognition stops the day you leave the company. SPIRE is the till. The SVID is the nod that says "this is really them, good for this lunch only".

🧪 Interactive lab — enable JavaScript to play with this one.

🧪 Try it free

Validate your workloads' SPIFFE SVIDs with SPIFFE Scan. Or check workload identity federation from CI to the cloud with OIDC Federation Check.