Authorization and Identity Lifecycle
ISC2 AI Security · Lesson 23 of 34 · 3:02:40
YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗
Learning with these videos? Subscribe for new courses and exam-style questions.
Subscribe on YouTube (opens in a new tab)In this lesson
Lesson 23 of the free ISC2 AI security series (pilot exam, domain 4, secure AI architecture, engineering, and identity and access management (IAM)). In this lesson: least privilege and separation of duties, authorization methods, execution boundaries and API scopes, excessive agency and lateral movement, inventory and provisioning, and reviews, posture, and usage audits. With three quick checks and a recap, and Ravenmoor Payments, a fictional payment provider, as the running example.
Study notes
The text of this lesson, to read at your own pace. Information as of November 2026.
Access that grew
Ravenmoor's support agent was meant to look up order status. Over a year, teams gave it access to payouts, merchant settings, and the customer database, one request at a time, and today a single injected prompt could reach almost anything. This lesson covers authorization for AI, and the lifecycle of AI identities.
Least privilege and separation of duties
The principle of least privilege gives each model, agent, and tool only the permissions that its task needs, and nothing more. For agents, that means few tools, narrow data access, and no write access unless writing is essential. Separation of duties splits sensitive tasks, so that no single identity can complete them alone. In an agentic workflow, the agent that proposes a payout should not be the one that approves it, and the person who builds a model should not approve its release. These principles limit what an attacker gains by taking over any one agent.
Authorization methods
Several authorization methods apply. Role-based access control, or RBAC, grants permissions through roles, which is simple, but often too coarse for agents. Attribute-based access control, or ABAC, decides from attributes of the user, the resource, and the context, such as data classification or time of day. Policy based access control evaluates central policies at each request, which suits agents whose tasks change. Just in time access grants elevated permissions only when needed, for a short time, with approval, and removes them automatically.
Execution boundaries and API scopes
Execution boundaries define where and how an agent may act. API scopes limit each token to specific operations, such as looking up order status, without changing payout accounts. Boundaries add limits on amounts, destinations, rates, and time, enforced outside the model, by the gateway or the harness. If a request falls outside the scope or the boundary, it fails, whatever the agent was told.
Excessive agency and lateral movement
Agents bring three specific risks. Excessive agency means an agent has more functions, permissions, or autonomy than its task requires, so a manipulated agent can do real damage. Over-delegation happens when an agent passes its authority to other agents or tools, which pass it on again, until nobody knows who can do what. Lateral movement is when a compromised agent uses its access to reach other systems, as an attacker would. Prevent them with least privilege, scoped tokens that cannot be passed on, limits on delegation depth, and network segmentation between agents and systems.
Inventory and provisioning
The identity lifecycle starts with an inventory. An AI identity inventory lists every human and non-human identity in AI systems, with its owner, its purpose, its permissions, and its credentials. Provisioning creates an identity only through an approved process, with the minimum access for its task. Transitions matter: when a person changes roles, or an agent gets a new task, remove the access that no longer fits. Deprovisioning removes identities, tokens, and keys as soon as an agent is retired or a person leaves, so that no orphaned identity stays active.
Reviews, posture, and usage audits
Periodic access reviews confirm that each identity still needs its access, and owners must answer for agents as well as for people. Identity security posture management continuously analyzes identities and permissions, and flags risks, such as unused privileges, stale keys, or agents with administrator rights. Audit AI resource use too: token accounting shows how many tokens each identity consumes, and sudden jumps can reveal abuse or a runaway agent. Rate limits cap that use, and session time-outs end idle sessions, for humans and agents alike. Together, these keep access from quietly growing again.
Recap
Let's recap. Least privilege and separation of duties apply to models, agents, and workflows. RBAC, ABAC, and policy based access control decide access, and just in time access removes standing privileges. API scopes and execution boundaries, enforced outside the model, limit what agents can do. Prevent excessive agency, over-delegation, and lateral movement with scoped tokens that cannot be passed on, and with segmentation. And the identity lifecycle runs from inventory and provisioning to access reviews, posture management, usage audits, and deprovisioning.
Quick checks for this lesson
The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.
Ravenmoor’s engineers need administrator rights on the model registry only a few times a month, for releases. What fits best?
- Just in time access, with approval
- Permanent administrator roles
- A shared administrator account
- Read access only, forever
Show the answer
Just in time access, with approval
Just in time access grants the rights for a short time, with approval, and removes them automatically. “Permanent administrator roles” is wrong, since standing administrator rights stay exposed all month. “A shared administrator account” is wrong, because a shared account breaks accountability. And “Read access only, forever” is wrong, since the engineers could then never perform the releases.
Ravenmoor’s support agent, meant to answer order questions, can also change payout accounts, because its token grants full access to the payments API. What risk is this?
- Model drift
- Data poisoning
- Excessive agency
- Shadow AI
Show the answer
Excessive agency
Excessive agency, since the agent holds far more permissions than its task requires. “Model drift” is wrong, since drift is a change in model performance. “Data poisoning” is wrong, because poisoning corrupts training data. And “Shadow AI” is wrong, since this agent was approved, and its problem is the access that it holds.
Six months after Ravenmoor retired an old reporting agent, its API token still works, and nobody noticed. Which process failed?
- Provisioning
- Deprovisioning
- Token accounting
- Federation
Show the answer
Deprovisioning
Deprovisioning should have revoked the agent's identity and token when it was retired. “Provisioning” is wrong, since provisioning creates identities, and this one was created correctly. “Token accounting” is wrong, because token accounting counts the model tokens an identity uses, not whether its access token is still valid. And “Federation” is wrong, since federation handles human logins through an identity provider.