Cloud Computing Architecture Guide

Identity as a Trust Boundary

Goal

Open the chapter by making identity the first boundary for every human and machine action.

The Short Version

Identity turns an actor into a reviewable principal before the platform decides what that principal may do.

A principal may represent a person, workload, service, device, or automation process. The important architecture move is to make the boundary explicit before selecting a cloud feature. A feature can automate a decision, but it cannot decide the organization's risk tolerance, ownership model, or acceptable failure behavior.

Use this section as a decision tool. Name the actor or producer, the protected or affected resource, the contract between them, the conditions under which the action is allowed, and the evidence that will show whether the design worked.

Mental Model

Show a flow from actor to credential to identity provider to policy decision to resource, with an evidence trail alongside the decision.

flowchart LR
    N1["Actor"] --> N2["Credential or assertion"] --> N3["Identity provider"] --> N4["Policy decision"] --> N5["Resource"] --> N6["Evidence"]

Read the diagram from left to right, then review it from right to left. The forward pass explains how work succeeds. The reverse pass asks whether an operator can trace an outcome back to its initiating identity, input, policy, route, or contract.

Architecture Decisions

Decision dimensionQuestion to make explicit
PrincipalIs this a person, workload, device, or automation process?
TrustWho asserts the identity, and under which conditions?
PermissionWhich actions are required, and which are explicitly excluded?
ScopeWhich environment and resources can the principal reach?
LifecycleWho creates, reviews, rotates, and removes access?

The answers should be recorded with the workload design. If the answer is merely "the platform default," the team has discovered an assumption, not completed an architecture decision.

Core Ideas

A principal may represent a person, workload, service, device, or automation process

A principal may represent a person, workload, service, device, or automation process. Make the owner, boundary, failure behavior, and evidence explicit. That turns the concept from a configuration choice into a design decision that another team can review and operate.

Authentication proves or asserts identity; authorization evaluates allowed actions against resources and scope

Authentication proves or asserts identity; authorization evaluates allowed actions against resources and scope. Make the owner, boundary, failure behavior, and evidence explicit. That turns the concept from a configuration choice into a design decision that another team can review and operate.

Identity architecture includes lifecycle, credential form, trust source, privilege, separation, and evidence

Identity architecture includes lifecycle, credential form, trust source, privilege, separation, and evidence. Make the owner, boundary, failure behavior, and evidence explicit. That turns the concept from a configuration choice into a design decision that another team can review and operate.

Provider Lenses

AWS commonly expresses these responsibilities through IAM identities, roles, policies, IAM Identity Center, and permission boundaries. Azure commonly uses Microsoft Entra ID for identity, Azure RBAC for resource authorization, managed identities for workloads, and PIM for time-bound privileged access. The useful comparison is the responsibility each feature carries, not a claim that the names are exact equivalents.

Provider lenses are useful for implementation planning, but they should come after the provider-neutral decision. This keeps the reasoning portable and makes differences in defaults, scope, and operational responsibility easier to detect.

Example: Applying the Decision

A delivery pipeline needs to deploy into non-production and production. Compare a shared static credential with distinct workload identities and explicit deployment roles.

Use separate identities for people, pipelines, and running workloads; separate production from non-production authorization; require stronger approval for production elevation; and record both control-plane changes and data access where the risk requires it.

A review should finish with named owners, a testable success path, expected failure modes, and observable evidence. That is more useful than a diagram that only proves the components can connect.

Common Mistakes

  • Starting with permissions before identifying the actors and trust source. It hides a boundary or enlarges the impact of failure, so record the safer alternative in the design.

  • Treating authentication and authorization as the same control. It hides a boundary or enlarges the impact of failure, so record the safer alternative in the design.

  • Assuming an authenticated identity should have broad access. It hides a boundary or enlarges the impact of failure, so record the safer alternative in the design.

If Someone Asks You

Why is identity an architecture boundary?

A clear answer is:

Identity turns an actor into a reviewable principal before the platform decides what that principal may do.

I would then show the decision path, the responsibility boundary, and the evidence used to review it. That explanation connects the technical mechanism to its architecture purpose.

What You Should Remember

Identity turns an actor into a reviewable principal before the platform decides what that principal may do.

Questions to Check Your Understanding

  1. What is the difference between a principal and a credential?

  2. Where does authentication end and authorization begin?

  3. Which questions make identity design reviewable?

Further Study