Menu
AWS Tools for Windows PowerShell
User Guide

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 C:\> New-IAMLoginProfile -UserName myNewUser -Password "&!123!&" UserName CreateDate -------- ---------- myNewUser 11/20/2012 4:23:05 PM

Use the Update-IAMLoginProfile cmdlet to update the password for an IAM user.

See Also

On this page: