Pcornel
Browse topics
Options
Recent
Favorites
Security · Technical reference

Cloud IAM

Direct answer

Cloud IAM controls who and what can do which actions on which cloud resources through users, roles, policies and conditions. Least privilege, MFA and avoiding long-lived access keys are the main controls.

When to use this

Use this when controlling who and what can act on cloud resources.

First 30 seconds

1. Cloud IAM: least privilege roles, no long-lived keys, MFA for humans, workload identities.

2. Root/global admin protected and unused.

3. Review privileged roles.

4. Use permission boundaries/policies.

5. Access analyzers.

Operational verification

identity → role/policy → cloud resources

Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common mistakes
  • Long-lived access keys for users and CI pipelines — use roles and workload identity federation (OIDC).
  • Wildcard policies ("Action": "*").
  • Root/global admin accounts used daily or without MFA.
  • Unused roles and permissions never reviewed (use IAM Access Analyzer, Entra access reviews).
Platform / version applicability
Platform and workload security
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformPlatform and workload security
Key commandaz role assignment list --all --query "[?roleDefinitionName=='Owner']"
Scope / prerequisiteUse this when controlling who and what can act on cloud resources.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Checks Verify boundary
aws iam generate-credential-report ; aws iam get-credential-report
aws accessanalyzer list-findings --analyzer-arn <arn>
az role assignment list --all --query "[?roleDefinitionName=='Owner']"

Look for unused keys older than 90 days, users without MFA, and Owner/Administrator assignments that are not needed.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Least privilege and MFA are essential.
  • Avoid long-lived access keys; use roles.
  • Wildcard permissions are a red flag.
Key checks
  • aws iam get-account-authorization-details > iam.json — AWS IAM export
  • az role assignment list --all -o table — Azure RBAC
  • gcloud projects get-iam-policy <project> — GCP IAM
ReferenceWhy it matters1 section · depth on demand

IAM good practice

  • Federate users from the corporate IdP with MFA; no IAM users with passwords where avoidable.
  • Roles with least privilege; avoid wildcard actions (*) and owner/contributor at subscription level.
  • Workload identities (managed identities, IAM roles, workload identity federation) instead of access keys.
  • Just-in-time elevation (Entra PIM, AWS IAM Identity Center with time-bound access).
  • Review unused permissions (IAM Access Analyzer, Entra access reviews).
ReferenceImportant terms & boundaries1 section · depth on demand

In depth

Cloud IAM controls who and what can perform which actions on which cloud resources. It is the primary security boundary in the cloud: a single overly permissive role or leaked access key can expose an entire account.

PracticeImplementation
Central identitySSO from the corporate IdP, no local cloud users
No long-lived keysRoles, managed identities, OIDC federation for CI/CD
Least privilegeScoped roles; avoid wildcard actions/resources
Privileged accessJIT elevation (PIM, temporary permission sets)
GuardrailsOrganisation policies/SCPs blocking risky actions
ReviewAccess analysers, unused permission reports
aws iam generate-credential-report && aws iam get-credential-report --query Content --output text | base64 -d | cut -d, -f1,4,9,11
az role assignment list --all --query "[?roleDefinitionName=='Owner']"
Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docPlatform and workload security current

Authoritative/upstream documentation reviewed for bounded claims in Cloud Security → Cloud IAM. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://csrc.nist.gov/pubs/sp/800/210/final · confidence 94%
Technical changelog & impact

What changed and what may be affected

Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.

Related reference impactReview these references after material technical changes when their shared boundary is affected.
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
cloud identity and access managementIAM roletrust policy
Confirmation

Confirm action

Continue?