← Glossaire · Identité et cryptographie IAM Identity and Access Management
Identité et cryptographie · Intermédiaire
La gestion des identités et des accès : qui peut faire quoi sur quelles ressources.
Comment ça marche Un service central tient les identités (personnes, machines, applications) et les politiques. Chaque demande est évaluée : les refus explicites l'emportent, puis les autorisations ; sans autorisation, c'est refusé. Dans le cloud, plusieurs couches de politiques se cumulent.
Request
SAME ACCOUNT
PRINCIPAL
role/App
ACTION
s3:PutObject
RESOURCE
arn:aws:s3:::logs/a.txt
LAYER
STATEMENTS (✓ MATCHES THE REQUEST)
RESULT
Permission boundary
Boundary
✓ S1 Allow s3:Get*, s3:Put* on *
allows
Identity policy
AppPolicy
✓ S1 Allow s3:Put* on arn:aws:s3:::logs/*
grants (allow)
ALLOW
no explicit deny, every guardrail allows and the identity policy grants it
Order: 1 explicit deny in any layer → deny. 2 every guardrail present (SCP, RCP, permission boundary, session policy) must allow, guardrails never grant. 3 an identity or resource policy must allow (both across accounts). 4 otherwise implicit deny.
* matches any run of characters, ? exactly one; actions ignore case, resources do not.
Same account: a resource policy that names the IAM user or the role session itself allows even when the boundary or session policy does not; naming the role (not the session) keeps those limits.
IAM : une demande évaluée à travers plusieurs couches de politiques
Request
SAME ACCOUNT
PRINCIPAL
role/App
ACTION
s3:PutObject
RESOURCE
arn:aws:s3:::logs/a.txt
LAYER
STATEMENTS (✓ MATCHES THE REQUEST)
RESULT
Permission boundary
Boundary
✓ S1 Allow s3:Get*, s3:Put* on *
allows
Identity policy
AppPolicy
✓ S1 Allow s3:Put* on arn:aws:s3:::logs/*
grants (allow)
ALLOW
no explicit deny, every guardrail allows and the identity policy grants it
Order: 1 explicit deny in any layer → deny. 2 every guardrail present (SCP, RCP, permission boundary, session policy) must allow, guardrails never grant. 3 an identity or resource policy must allow (both across accounts). 4 otherwise implicit deny.
* matches any run of characters, ? exactly one; actions ignore case, resources do not.
Same account: a resource policy that names the IAM user or the role session itself allows even when the boundary or session policy does not; naming the role (not the session) keeps those limits.
IAM : une demande évaluée à travers plusieurs couches de politiques
Qui l'utilise, et pourquoi Administrateurs cloud et sécurité ; cause fréquente d'incidents quand les droits sont trop larges.