Aws Iam Create Login Profile
If the account password policy allows them to, IAM users can change their own passwords using the change-password command. Store the password in a secure place. If the password is lost, it cannot be recovered, and you must create a new one using the create-login-profile command. For more information, see Managing Passwords in the Using IAM guide.
You could use the GetLoginProfile API request to determine if an IAM user has a login profile or not. If there is no login profile associated with the user this request will return a 404 response. If there is no login profile associated with the user this request will return a 404 response.
The get-login-profile command can be used to verify that an IAM user has a password. The command returns a NoSuchEntity error if no password is defined for the user. You cannot view a password using this command. If the password is lost, you can reset the password (update-login-profile) for the user.
Follow the steps outlined in the Create an IAM User chapter to create an IAM user in another AWS account and take a note of the Access key ID and Secret access key. To configure the new profile in your AWS CLI use: $ aws configure --profile newAccount Where newAccount is the name of the new profile you are creating.
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together
Use AWS Roles and Secure Your Access Keys with MFA First generate a skeleton to fill and then create the profile. $ aws iam create-login-profile Get unlimited access to the best stories on