Submit
Path:
~
/
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
iam
/
File Content:
create-login-profile.rst
**To create a password for an IAM user** To create a password for an IAM user, we recommend using the ``--cli-input-json`` parameter to pass a JSON file that contains the password. Using this method, you can create a strong password with non-alphanumeric characters. It can be difficult to create a password with non-alphanumeric characters when you pass it as a command line parameter. To use the ``--cli-input-json`` parameter, start by using the ``create-login-profile`` command with the ``--generate-cli-skeleton`` parameter, as in the following example:: aws iam create-login-profile --generate-cli-skeleton > create-login-profile.json The previous command creates a JSON file called create-login-profile.json that you can use to fill in the information for a subsequent ``create-login-profile`` command. For example:: { "UserName": "Bob", "Password": "&1-3a6u:RA0djs", "PasswordResetRequired": true } Next, to create a password for an IAM user, use the ``create-login-profile`` command again, this time passing the ``--cli-input-json`` parameter to specify your JSON file. The following ``create-login-profile`` command uses the ``--cli-input-json`` parameter with a JSON file called create-login-profile.json:: aws iam create-login-profile --cli-input-json file://create-login-profile.json Output:: { "LoginProfile": { "UserName": "Bob", "CreateDate": "2015-03-10T20:55:40.274Z", "PasswordResetRequired": true } } If the new password violates the account password policy, the command returns a ``PasswordPolicyViolation`` error. To change the password for a user that already has one, use ``update-login-profile``. To set a password policy for the account, use the ``update-account-password-policy`` command. If the account password policy allows them to, IAM users can change their own passwords using the ``change-password`` command. For more information, see `Managing Passwords for IAM Users`_ in the *Using IAM* guide. .. _`Managing Passwords for IAM Users`: http://docs.aws.amazon.com/IAM/latest/UserGuide/credentials-add-pwd-for-user.html
Submit
FILE
FOLDER
Name
Size
Permission
Action
add-client-id-to-open-id-connect-provider.rst
709 bytes
0644
add-role-to-instance-profile.rst
650 bytes
0644
add-user-to-group.rst
445 bytes
0644
attach-group-policy.rst
509 bytes
0644
attach-role-policy.rst
514 bytes
0644
attach-user-policy.rst
510 bytes
0644
change-password.rst
1641 bytes
0644
create-access-key.rst
842 bytes
0644
create-account-alias.rst
394 bytes
0644
create-group.rst
594 bytes
0644
create-instance-profile.rst
921 bytes
0644
create-login-profile.rst
2139 bytes
0644
create-open-id-connect-provider.rst
2405 bytes
0644
create-policy-version.rst
733 bytes
0644
create-policy.rst
1301 bytes
0644
create-role.rst
981 bytes
0644
create-saml-provider.rst
579 bytes
0644
create-user.rst
622 bytes
0644
create-virtual-mfa-device.rst
784 bytes
0644
deactivate-mfa-device.rst
543 bytes
0644
delete-access-key.rst
620 bytes
0644
delete-account-alias.rst
403 bytes
0644
delete-account-password-policy.rst
419 bytes
0644
delete-group-policy.rst
506 bytes
0644
delete-group.rst
340 bytes
0644
delete-instance-profile.rst
403 bytes
0644
delete-login-profile.rst
369 bytes
0644
delete-open-id-connect-provider.rst
526 bytes
0644
delete-policy-version.rst
471 bytes
0644
delete-policy.rst
399 bytes
0644
delete-role-policy.rst
409 bytes
0644
delete-role.rst
696 bytes
0644
delete-saml-provider.rst
446 bytes
0644
delete-signing-certificate.rst
612 bytes
0644
delete-user-policy.rst
525 bytes
0644
delete-user.rst
390 bytes
0644
delete-virtual-mfa-device.rst
446 bytes
0644
detach-group-policy.rst
484 bytes
0644
detach-role-policy.rst
511 bytes
0644
detach-user-policy.rst
454 bytes
0644
enable-mfa-device.rst
803 bytes
0644
generate-credential-report.rst
513 bytes
0644
get-access-key-last-used.rst
636 bytes
0644
get-account-authorization-details.rst
8896 bytes
0644
get-account-password-policy.rst
820 bytes
0644
get-account-summary.rst
1285 bytes
0644
get-credential-report.rst
491 bytes
0644
get-group-policy.rst
877 bytes
0644
get-group.rst
586 bytes
0644
get-instance-profile.rst
1136 bytes
0644
get-login-profile.rst
891 bytes
0644
get-open-id-connect-provider.rst
808 bytes
0644
get-policy-version.rst
846 bytes
0644
get-policy.rst
852 bytes
0644
get-role-policy.rst
928 bytes
0644
get-role.rst
789 bytes
0644
get-saml-provider.rst
632 bytes
0644
get-user-policy.rst
873 bytes
0644
get-user.rst
574 bytes
0644
list-access-keys.rst
1003 bytes
0644
list-account-aliases.rst
414 bytes
0644
list-attached-group-policies.rst
778 bytes
0644
list-attached-role-policies.rst
659 bytes
0644
list-attached-user-policies.rst
751 bytes
0644
list-entities-for-policy.rst
772 bytes
0644
list-group-policies.rst
562 bytes
0644
list-groups-for-user.rst
896 bytes
0644
list-groups.rst
824 bytes
0644
list-instance-profiles-for-role.rst
1135 bytes
0644
list-instance-profiles.rst
2338 bytes
0644
list-mfa-devices.rst
631 bytes
0644
list-open-id-connect-providers.rst
618 bytes
0644
list-policies.rst
1283 bytes
0644
list-policy-versions.rst
802 bytes
0644
list-role-policies.rst
597 bytes
0644
list-roles.rst
1491 bytes
0644
list-saml-providers.rst
580 bytes
0644
list-signing-certificates.rst
788 bytes
0644
list-user-policies.rst
492 bytes
0644
list-users.rst
755 bytes
0644
list-virtual-mfa-devices.rst
628 bytes
0644
put-group-policy.rst
548 bytes
0644
put-role-policy.rst
650 bytes
0644
put-user-policy.rst
592 bytes
0644
remove-client-id-from-open-id-connect-provider.rst
727 bytes
0644
remove-role-from-instance-profile.rst
491 bytes
0644
remove-user-from-group.rst
474 bytes
0644
resync-mfa-device.rst
705 bytes
0644
set-default-policy-version.rst
527 bytes
0644
update-access-key.rst
715 bytes
0644
update-account-password-policy.rst
749 bytes
0644
update-assume-role-policy.rst
710 bytes
0644
update-group.rst
394 bytes
0644
update-login-profile.rst
895 bytes
0644
update-open-id-connect-provider-thumbprint.rst
698 bytes
0644
update-saml-provider.rst
676 bytes
0644
update-signing-certificate.rst
650 bytes
0644
update-user.rst
393 bytes
0644
upload-server-certificate.rst
1166 bytes
0644
upload-signing-certificate.rst
898 bytes
0644
N4ST4R_ID | Naxtarrr