Ravindra BagaleCourses & study guides मराठी Track your progress

AWS Cloud

What Is AWS IAM Identity Center (SSO) Explained

IAM Identity Center is the modern front door for humans. One login, many AWS accounts, temporary roles under the hood. Old-style IAM users with permanent keys are the backup plan — not the default.

In this chapter

  • Identity Center vs old IAM users
  • Permission sets = reusable role templates
  • AWS access portal URL
  • Users, groups, account assignments
  • When Identity Center is the right default

1. Everyday example first

Flipkart staff do not carry a separate metal key for every warehouse. They badge in once; the system opens the doors their job needs. Identity Center is that badge for AWS accounts.

The warehouse story is made up for learning.

AWS IAM Identity Center (the successor name for what many still call AWS SSO) gives workforce users a single sign-on portal into one or many AWS accounts. Behind each “tile” is a permission set that becomes an IAM role with temporary credentials.

Old habitIdentity Center habit
Create IAM user per person per accountOne Identity Center user; assign accounts + permission sets
Long-lived access keys for CLIaws sso login → temporary keys
Copy AdministratorAccess to every userPermission sets: ReadOnly, PowerUser, Admin break-glass

2. Core words

Start with a person who needs to read a development account and has no reason to edit production. The identity source supplies people and groups. Put the person in a development group. A permission set describes the AWS access the group should get. An assignment connects the group, the chosen account and the permission set. After the person signs in to the AWS access portal, that assignment describes the account and role they should see.

Test the three parts separately. Portal sign-in confirms account authentication for that person. Seeing Development with the right permission set confirms the assignment is visible. Opening that role and reading one assigned resource confirms its permissions work. If Production appears by mistake, find which person or group assignment granted it instead of making the development policy broader.

  • AWS access portal — the HTTPS URL users bookmark to pick account + role.
  • Permission set — template of policies; Identity Center creates/updates a role per account assignment.
  • Identity source — Identity Center directory, Active Directory, or external IdP (Okta, Entra ID, etc.).
  • Account assignment — user/group + permission set + AWS account.

3. Identity Center vs IAM users

Interviewers ask which you prefer for a 50-person company with 5 AWS accounts.

  1. Prefer Identity Center for humans: one place to hire/fire, MFA, and short sessions.
  2. Keep IAM users rare: break-glass, legacy automation not yet on roles, or tiny sandbox with one learner (still MFA).
  3. Workloads (EC2, Lambda) still use IAM roles — not Identity Center users.

Ravindra Bagale's Tip

Calling it “AWS SSO” in conversation is fine — people still search that name. On the console, look for IAM Identity Center.

Common errors: cause and safe next check

Portal sign-in works but the expected account is missing

Authentication is only the first step. In an organization instance, check the intended user or group, group membership, target AWS account and permission-set assignment with the administrator. A successful login does not grant an account assignment automatically.

The account appears but the requested role is absent

The account and permission set must be assigned together to the right user or group. Check the completed assignment rather than asking for AdministratorAccess as a shortcut. Assignment processing can take a few minutes.

CLI login succeeds but the wrong account is used

An SSO session can be shared by profiles that select different accounts and roles. Check the named profile’s account and role selection and its caller identity. Do not treat a browser success message as proof of which account the next terminal request uses.

Practical questions and full answers

Can one SSO session support separate development and production profiles?

Yes. The recommended sso-session configuration can be reused by more than one profile, while each profile selects its own account and role. Keeping names clear helps avoid using a production profile for an intended development read.

Does an account instance provide the same AWS-account portal access as an organization instance?

No. Current account instances support application assignments, not AWS-account portal access or multi-account permissions. For the account-and-permission-set flow discussed here, confirm that the administrator is using an organization instance.

Who controls MFA when a company uses an external identity provider?

The external IdP manages MFA for those identities. Identity Center assignments still determine which AWS accounts and permission sets are available. Login security and account authorization are related, but are not the same configuration.

4. Interview angles

Q. SSO vs IAM user?

SSO/Identity Center: one login, temp roles; IAM user: long-lived per account.

Q. Permission set?

Reusable policy pack that becomes a role in each assigned account.

Q. Where do CLI creds come from?

aws sso login caches temporary creds via STS.

Q. Workloads on Identity Center?

No — attach IAM roles to compute.

Q. Old name?

AWS Single Sign-On (AWS SSO).

Try at home

  1. Find the Identity Center console in your lab account (may need org/management account).
  2. Next: enable it and create a permission set step by step.

In short

  1. Identity Center = SSO portal for humans.
  2. Permission sets become temporary roles.
  3. Prefer it over fleets of IAM users.
  4. Compute still uses IAM roles.

Separate sign-in from permissions

Create a test group, select one lab account and assign a read-only permission set. The test user signs in successfully and sees that account, while a write attempt remains denied. Remove the exercise assignment afterward.

Interview check Why can somebody sign in but see no account?

Authentication identifies the user. Account assignments and the permission set determine which AWS account access the user receives.

Reference documentation

Practise this chapter

Interview questions and answers

How would you explain why signing into the access portal does not guarantee AWS access?

The identity source authenticates the person, while an account assignment connects that person or group to a permission set in a particular account. I would verify sign-in, appearance of the expected assignment, and one authorized service action as three separate checks.

Check your understanding

Choose an answer, then compare your reasoning with the explanation.

0 of 3 answered correctly
1. In Identity Center, what does a permission set describe?

Answer and explanation

B. Which AWS access the assigned role should have

A permission set represents the AWS permissions for assigned account access.

2. The user signs in but sees no account. What is a likely next check?

Answer and explanation

A. The user or group assignment to the intended account

Successful authentication does not create the account and permission-set assignment.

3. How can the same person have read-only development access and different production access?

Answer and explanation

B. Assign appropriate permission sets separately per account

Assignments connect a subject, a permission set and a specific target account.

Practice Tasks

Practice checks run in your browser. They check the answer for this exercise; they do not create resources or connect to your AWS account.

About this scenario

Sahyadri Clinic is a healthcare business in Satara. Dr. Anil Deshmukh looks after its IT and cloud work. They count money in INR and run their AWS resources in the ap-south-1 Region. In the tasks below you do real jobs for them using what this lesson teaches. All names, account IDs, IP addresses and numbers are made up for practice.

0 / 10

Easy Configure a named profile

Profiles keep keys for different accounts apart.

Start the interactive setup for a profile named sahyadriclinic-prod.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Easy Check who you are logged in as

Always confirm the account and identity before running changes.

Show the account ID and ARN of the identity your CLI is using.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Easy How many addresses in a /16?

Picking a VPC size needs this count.

Sahyadri Clinic plans the VPC 10.94.0.0/16. How many IP addresses does it hold in total?

  1. Write down the numbers the task gives you.
  2. Work it out step by step on paper.
  3. Type only the final answer in the box.
  4. Click Check answer.

Easy Port for SSH

Security group rules need the right port.

Which TCP port must the security group open for SSH?

  1. Write down the numbers the task gives you.
  2. Work it out step by step on paper.
  3. Type only the final answer in the box.
  4. Click Check answer.

Easy Show where you are

Before you copy or delete anything, you must know which folder you are in.

Dr. Anil Deshmukh logged in to the Sahyadri Clinic server and is not sure which folder the terminal is in. Print the current folder path.

  1. Find the Linux command that does this job.
  2. Add the options (like -r or -h) the task needs.
  3. Add the file names, folders or users in the right order.
  4. Use sudo if the job changes system files or users. Click Check answer.

Medium List Identity Center instances

You need the instance ARN and identity store ID for SSO admin commands.

List the IAM Identity Center instances.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Medium Log in with SSO

SSO gives short-lived keys, so no long-term access keys sit on your laptop.

Log in with IAM Identity Center for profile sahyadriclinic-dev.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Medium Set the default Region of a profile

Setting region in the profile saves typing --region every time.

Set region to ap-south-1 for profile sahyadriclinic-prod using aws configure set.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Medium Create access keys for a user

Access keys let a user run the AWS CLI. Store them safely and rotate them.

Create an access key for user anil.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Hard Create a permission set

A permission set is a role template that Identity Center creates in each account.

Create permission set ReadOnly-sahyadriclinic in instance arn:aws:sso:::instance/ssoins-1234567890abcdef with session duration PT8H.

  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Revision, comparison and interview cards

Revise this lesson in a few minutes. Save the cards on your phone or download them as PNG files. The QR code on each card opens this lesson.

Revision card: What is IAM Identity Center?. Flipkart staff do not carry a separate metal key for every warehouse — one badge opens the doors their job needs. IAM Identity Center (successor to AWS SSO) gives workforce users one portal into one or many AWS accounts. Each tile is a permission set that becomes a temporary role. Enable Identity Center, create users/groups (or connect a directory), create permission sets, assign them to accounts, sign in at the portal URL. One login shows tiles for Account A ReadOnly and Account B PowerUser; each click starts an STS session.
Revision card: What is IAM Identity Center? · Download PNG · Open card page
Revision card: Portal, permission set, assignment. Interview answers fail when “permission set” is confused with “IAM user policy” or “group”. Permission set = reusable policy pack that materializes as a role in each assigned account. Assignment links user/group + permission set + account. Portal URL is the sign-in page. Create a ReadOnlyAccess permission set, assign your group to the lab account, open the portal bookmark. The portal lists your account with a ReadOnly tile; AWS access portal shows the role session start.
Revision card: Portal, permission set, assignment · Download PNG · Open card page
Revision card: Identity Center vs IAM users. Creating an IAM user per person per account does not scale and leaves long-lived keys behind. Identity Center: one human identity, temporary roles per account. IAM users: long-lived per-account identities (use sparingly). Compute still uses IAM roles, not Identity Center. Move humans to Identity Center permission sets; keep IAM users only for break-glass or legacy tools that cannot SSO. New hire gets one Identity Center user and group membership — not five IAM users across five accounts.
Revision card: Identity Center vs IAM users · Download PNG · Open card page
Comparison: IAM Identity Center vs IAM users. IAM Identity Center: One portal login; permission sets become temporary roles per account. IAM users: Long-lived per-account identities; access keys common.
Comparison: IAM Identity Center vs IAM users · Download PNG · Open card page
Interview card: Identity Center vs IAM user for humans?. Identity Center: one login, temporary roles via permission sets across accounts. IAM user: long-lived identity usually scoped to one account. Fleets of IAM users do not scale and encourage access keys. Prefer Identity Center for workforce access. Example: one IC user in group Developers with PowerUser on dev and ReadOnly on prod — not two IAM users with keys.
Interview card: Identity Center vs IAM user for humans? · Download PNG · Open card page
Interview card: What is a permission set?. A permission set is Identity Center’s reusable policy pack. When assigned to an account, it materializes as an IAM role with those policies for temporary sessions. It is not the same as an IAM group policy alone; assignment also needs a user/group and a target account to show a portal tile. Create ReadOnlyAccess permission set → assign to lab account → portal shows the tile → session uses the generated role.
Interview card: What is a permission set? · Download PNG · Open card page

More cards: Ravi Sir's Cards.