---
title: "Identity and Access Management in the Cloud"
domain: cloud-computing
level: intermediate
duration: "2h 30min total"
---

# Identity and Access Management in the Cloud

In the cloud, the console and the API are reachable from anywhere, so identity is the real perimeter: a leaked key or an over-broad policy is enough to lose your data. This module explains how cloud identity and access management (IAM) decides who can do what, how to write and read policies, and how to give people and programs only the access they need, preferably with short-lived credentials.

## Learning objectives
By the end of this module you will be able to:
1. Explain the building blocks of cloud IAM: principals (users, groups, roles, service accounts), authentication versus authorization, and how a request is evaluated.
2. Read and write JSON access policies with actions, resources, effects and conditions, and predict the result when allow and deny statements overlap.
3. Apply the principle of least privilege and compare role-based (RBAC) and attribute-based (ABAC) access control.
4. Explain temporary credentials and federation (SAML 2.0, OpenID Connect) and why they are safer than long-lived access keys.
5. Assess common IAM mistakes (wildcard policies, leaked keys, unused accounts, no MFA) and how to detect them.

## Prerequisites
- [04 — Cloud Fundamentals](../04-cloud-fundamentals/README.md) and [05 — Virtualization and Containers](../05-virtualization-containers/README.md).
- For the lab: a Linux machine with Podman 4 or later, to run a local S3-compatible server and its client. Cost: free; no cloud account needed.

## Contents
| Type | Duration |
|---|---|
| [Theory](lesson.md) | 50 min |
| [Hands-on lab: users, policies and temporary credentials](lab.md) | 75 min |
| [Assessment (10 questions)](quiz.md) | 15 min |

## Further reading
- [NIST SP 800-162](https://csrc.nist.gov/pubs/sp/800/162/upd2/final) — Guide to Attribute Based Access Control (ABAC)
- [NIST SP 800-63-4](https://pages.nist.gov/800-63-4/) — Digital Identity Guidelines
- [OpenID Connect Core 1.0](https://openid.net/specs/openid-connect-core-1_0.html)
- [RFC 6749](https://www.rfc-editor.org/rfc/rfc6749) — The OAuth 2.0 Authorization Framework
