aws iam create-login-profile
Creates a password for the specified IAM user. AWS CLI reference
3 options Its page in the AWS CLI reference
Options
--password-reset-requiredSpecifies whether the user is required to set a new password on next sign-in.--passwordThe new password for the user.--user-nameThe name of the IAM user to create a password for.