Set an Initial Password for an IAM User
The following example demonstrates how to use the New-IAMLoginProfile
cmdlet
to set an initial password for an IAM user. For more information about character limits
and recommendations for passwords, see Password Policy Options in the IAM User Guide.
PS >
New-IAMLoginProfile -UserName myNewUser -Password "&!123!&"
UserName CreateDate -------- ---------- myNewUser 11/20/2012 4:23:05 PM
Use the Update-IAMLoginProfile
cmdlet to change the password for an IAM
user.