Table of Contents

Return to the Cloud IAM and Zero Trust Lab Course

Cloud access starts with a principal and ends with a resource action. Credentials create a session. Policies and trust relationships decide which actions the session receives.

Name the Parts

PartQuestionExample
PrincipalWho or what asks?Person, group, role session, service account, managed identity
CredentialHow is identity proven?Federation token, certificate, workload token
SessionWhich temporary context acts?AWS role session, Azure sign-in session, Google access token
Role or policyWhich actions are described?S3 list, resource-group reader, logging viewer
ResourceWhat receives the action?Bucket, vault, project, secret, application
Trust relationshipWho is allowed to obtain the role or identity?Federation provider, workload pool, role trust policy

Do not merge authentication and authorization. A valid identity still needs an allowed action on the target resource.

Compare Provider Terms

ConceptAWSAzureGoogle Cloud
Human federationIAM Identity Center or external identity providerMicrosoft Entra IDWorkforce identity federation or Cloud Identity
Workload principalIAM roleManaged identity or service principalService account or federated principal
Permission packagePolicyRole definitionRole
GrantAttached policy or resource policyRole assignmentAllow policy binding
Hierarchy and authorization limitSCP or RCP in OrganizationsManagement-group RBAC scope and applicable deny assignmentsOrganization and folder policy, deny policy, and inherited bindings

Azure Policy governs resource configuration and compliance. Review its effects separately from RBAC authorization. Provider names differ. The review question stays stable: Which principal receives which action on which resource under which conditions?

Draw an Access Path

Use the synthetic payroll reporting service.

Build workflow
  -> workload federation
  -> short-lived reporting identity
  -> custom read-only role
  -> payroll report storage
  -> audit event and alert path

Add these fields:

Principal owner:
Authentication source:
Session lifetime:
Role or policy:
Resource scope:
Conditions:
Audit source:
Revocation route:
Emergency owner:

The owner field matters. An identity without an accountable owner tends to keep access after its original purpose ends.

Practice Steps

  1. List three human principals and three workload principals from a sandbox or fictional environment.
  2. Record each owner and business purpose.
  3. Trace one session from authentication to a resource action.
  4. Mark long-lived credentials.
  5. Mark shared identities.
  6. Record the revocation route for each principal.
  7. Draw one trust relationship separately from its permission policy.

Expected Result: the map separates principal, credential, session, trust, permission, and resource scope.

Troubleshooting

ProblemFix
A role appears to be the principal and policySeparate the role identity, attached permissions, and active role session
Owner is unknownMark the identity for review instead of assigning a guessed owner
Scope uses a provider rootFind the smallest resource or project boundary which fits the task
A key has no expiryRecord replacement with federation or managed identity as a priority

Verify Your Work

  • Human and workload identities are separate
  • Trust and permissions are separate
  • Sessions have lifetimes
  • Every identity has an owner or review flag
  • Every grant names a resource scope
  • Revocation routes are recorded

Next Steps

Continue to Lesson 2: Effective Permissions . Calculate the final decision across policy layers.