1 Identity, Authentication, Authorization — and Accounting (AAA)
Identity and Access Management (IAM) answers a deceptively simple question: who can do what? Three distinct ideas are often blurred together, so keep them separate.
- Identity — who you claim to be. A username, an email, an employee number. It is just an assertion until it is proven.
- Authentication (AuthN) — proving that claim. You present evidence (a password, a token, a fingerprint) and the system verifies it.
- Authorization (AuthZ) — once your identity is proven, deciding what you are allowed to do. Reading a file, deleting a record, approving a payment.
The classic framework is AAA: Authentication, Authorization, and Accounting. Accounting (also called auditing) records what authenticated users actually did — login times, resources accessed, changes made — so activity can be reviewed, billed, or investigated after the fact.
A useful mantra: authentication asks "are you really you?", authorization asks "are you allowed?", and accounting asks "what did you do?"