Prerequisites
Before managing users and groups, make sure of properly setting up user management profile.Install Required Software
Described in Getting Started section.
Set up AWS SSO locally
As described in Set up AWS SSO locally
Core Concepts
Users
Users represent individuals who need access to AWS resources and applications. Each user:- Requires MFA (Multi-Factor Authentication) – Enforced on the first login for security
- Has unique credentials – Separate from traditional AWS IAM (Identity and Access Management) users
- Belongs to groups – Access is granted and managed through group membership
- Can access multiple accounts – Single sign-on across all assigned AWS accounts
Access Groups
Access Groups is an abstraction we create to manage the underlying AWS IAM Identity Center components: groups, permission sets, and account attachments. This abstraction simplifies the complex relationships between these components and provides a more intuitive way to manage user access across multiple AWS accounts.
- Accounts – Which AWS accounts the group provides access to
- Policies – What permissions users in the group have in those accounts
- Applications – Which integrated applications users can access (these are attached manually)
- Session Duration – How long temporary access tokens remain valid
Policy Types
Access groups rely on policies to define permissions. Here are the main types:AWS Managed Policies
AWS Managed Policies
Pre-built policies maintained by AWS. Common examples:
AdministratorAccess– Full administrative permissionsPowerUserAccess– All permissions except IAM and billingReadOnlyAccess– View-only permissions across servicesViewOnlyAccess– Basic read permissions
Inline Policies
Inline Policies
Custom policies created and managed within your access group:
- Defined inside the access group itself
- Applied automatically to all accounts assigned to the group
- Useful for granular permissions
Customer Managed Policies
Customer Managed Policies
They must already exist in target accounts:
- Not managed directly by the access group
- Must be created in each target account before being referenced
Understanding the Users&Groups Parameter
Important: User management changes affect access across your entire AWS organization. Always coordinate with your team and follow your organization’s change management process.
input.hcl file.
Here’s what the structure looks like: