- Newest
- Most votes
- Most comments
Hi Ethan!
To automate email verification and password resets when bulk creating users in IAM Identity Center:
Email Verification: Currently, there's no direct AWS CLI command to send verification emails or reset passwords automatically during bulk user creation. However, after creating the users, you can use the AWS SDK (like Boto3 for Python) to programmatically trigger these actions.
Here's a high-level approach:
- Create Users via CLI as you've been doing.
- Use Boto3 to iterate through the users and call
admin_create_userfollowed byadmin_reset_user_passwordin the AWS SDK for Python.
Documentation: Detailed steps can be found in the AWS IAM Identity Center Documentation.
This will streamline the process and avoid manual intervention.
I hope this helps! 😁
Please review this AWS documentation about enabling Email invitation notification to users created by API in identity center: https://docs.aws.amazon.com/singlesignon/latest/userguide/userswithoutpwd.html
That might require you to switch to using the API endpoint to programmatically create user profiles.
