What's the action when create a user through AWS IAM Identity Center through AWS CLI?

0

Hello,

From https://awscli.amazonaws.com/v2/documentation/api/latest/reference/identitystore/create-user.html, it provides to create an user with AWS CLI.

However, when create an user with AWS IAM Identity Center console, there are two options for password.

  • Send an email to this user with password setup instructions.
  • Generate a one-time password that you can share with this user.

So, what's the action when create a user through AWS IAM Identity Center through AWS CLI? I don't see the option as a CLI parameter.

Regards

khamoo
asked 2 years ago254 views
1 Answer
0

As you are already aware of it, In case of Identity store as "Identity Center directory", one may create users through CLI by using API call "create-user", but there is no parameter in either "create-user/update-user" CLI command to send the password through an email to the user or create one time password. This action is possible only through AWS IAM Identity Center console.

Hope the above information is helpful. Thank you.

profile pictureAWS
SUPPORT ENGINEER
Varun
answered 2 years ago
  • So, how the new user setup the password when the new user created by AWS CLI?

  • as shared in the answer, the reset of password is not possible through AWS CLI and can be done only through AWS console.

  • Could you please help to create a feature request for this behavior? It's inconvenience for user provisioning in AWS IAM Identity Center.

  • I have gone ahead and created a feature request for this. We take customers feedback very seriously. Thank you for reaching with such a query.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions