Creates a password for the specified user, giving the user the ability to access AWS services through the AWS Management Console. For more information about managing passwords, see Managing Passwords in the IAM User Guide.
iam_create_login_profile(UserName, Password, PasswordResetRequired)
[required] The name of the IAM user to create a password for. The user must already exist.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: \_+=,[email protected]
[required] The new password for the user.
The regex pattern that is used to
validate this parameter is a string of characters. That string can
include almost any printable ASCII character from the space (
Specifies whether the user is required to set a new password on next sign-in.
1 2 3 4 5
1 2 3 4 5 6 7
# The following command changes IAM user Bob's password and sets the flag # that required Bob to change the password the next time he signs in. svc$create_login_profile( Password = "h]6EszR}vJ*m", PasswordResetRequired = TRUE, UserName = "Bob" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.