Managing users ¶
Onboarding Users and Groups ¶
Add/remove users ¶
- Open this file:
management/global/sso/locals.tf
- Locate the users map within the local variables definition
- Add an entry to the users map with all the required data, including the groups the user should belong to
- Apply your changes
- Additional steps are required when creating a new user:
- The user's email needs to be verified. Find the steps for that in this section.
- After the user has verified his/her email he/she should be able to use the Forgot Password flow to generate its password. The steps for that can be found in this section.
Add/remove groups ¶
- Open this file:
management/global/sso/locals.tf
- Find the groups variable within the local variables definition
- Add an entry to the groups variable with the group name and description
- Apply your changes
Edit user/group membership ¶
- Open this file:
devops-tf-infra/management/global/sso/locals.tf
- Find the users map within the local variables definition
- Update the groups attribute to add/remove groups that user belongs to
- Apply your changes
Trigger user email activation ¶
- Log in to management account through the AWS console
- Go to AWS IAM Identity Center
- Go to the users section
- Locate the user whose email you want to active
- Click on the user to view the user details
- There should be a "Send verification email" or "Send email verification link" button at the top. Click on it.
- Notify the user, confirm that he/she got the email and that he/she clicked on the activation link.
Reset a user password ¶
Follow the steps in the official documentation