User management commands — Create, delete, and manage user access in AWS IAM Identity Center.
Overview
Thefjall user command manages users in AWS IAM Identity Center (formerly AWS SSO), allowing you to create users, delete users, and manage their group memberships.
Usage
Subcommands
Create User
Create a new user in IAM Identity Center:Delete User
Remove a user from IAM Identity Center:List Users
Display all users in IAM Identity Center:Associate User with Group
Add a user to a group:Dissociate User from Group
Remove a user from a group:Default Groups
Fjall creates standard permission groups in IAM Identity Center:| Group | Description | AWS Permissions |
|---|---|---|
AdministratorAccess | Full administrative access | All AWS services |
ReadOnly | View-only access | Read all resources |
Billing | Billing and cost management | Cost Explorer, Budgets |
Common Workflows
Add New Administrator
Grant Billing Access
Remove All Access
Audit User Access
Prerequisites
To use these commands, you need:- AWS IAM Identity Center enabled in your organisation
- Platform account deployed with
fjall deploy platform - Administrator permissions in the Identity Center account
- Valid AWS credentials via
fjall profile set
How It Works
The user commands interact with AWS IAM Identity Center API to:- Create users - Adds user to identity store
- Manage groups - Controls permission assignments
- Delete users - Removes access completely
- List users - Queries current user state
Error Handling
User Already Exists
Group Not Found
Permission Denied
Best Practices
- Use groups for permissions - Don’t assign permissions directly to users
- Follow least privilege - Only grant necessary access
- Regular audits - Review user list monthly
- Remove promptly - Delete users immediately when access no longer needed
- Document access - Keep records of who has what access
Integration with SSO
After creating users:- Users receive an invitation email from AWS
- They must set up MFA on first login
- Access the SSO portal at your organisation’s URL
- Select accounts they have permission to access
Limitations
Current limitations of the user commands:- Cannot create custom groups (use AWS Console)
- Cannot modify user details after creation
- Cannot resend invitation emails
- Cannot set temporary passwords
Users must accept their invitation email and configure MFA before they can access AWS accounts through SSO.