PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
iam
**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
[+]
..
[-] delete-login-profile.rst
[edit]
[-] create-virtual-mfa-device.rst
[edit]
[-] get-user-policy.rst
[edit]
[-] create-policy.rst
[edit]
[-] enable-mfa-device.rst
[edit]
[-] get-role-policy.rst
[edit]
[-] delete-group.rst
[edit]
[-] detach-user-policy.rst
[edit]
[-] update-role.rst
[edit]
[-] delete-account-alias.rst
[edit]
[-] attach-role-policy.rst
[edit]
[-] list-policy-versions.rst
[edit]
[-] upload-ssh-public-key.rst
[edit]
[-] get-account-authorization-details.rst
[edit]
[-] create-policy-version.rst
[edit]
[-] delete-saml-provider.rst
[edit]
[-] resync-mfa-device.rst
[edit]
[-] get-service-linked-role-deletion-status.rst
[edit]
[-] list-user-policies.rst
[edit]
[-] delete-policy.rst
[edit]
[-] create-saml-provider.rst
[edit]
[-] attach-group-policy.rst
[edit]
[-] get-context-keys-for-custom-policy.rst
[edit]
[-] list-access-keys.rst
[edit]
[-] delete-ssh-public-key.rst
[edit]
[-] create-user.rst
[edit]
[-] set-default-policy-version.rst
[edit]
[-] delete-instance-profile.rst
[edit]
[-] list-ssh-public-keys.rst
[edit]
[-] update-user.rst
[edit]
[-] list-attached-group-policies.rst
[edit]
[-] get-server-certificate.rst
[edit]
[-] change-password.rst
[edit]
[-] get-group.rst
[edit]
[-] list-policies-granting-service-access.rst
[edit]
[-] list-virtual-mfa-devices.rst
[edit]
[-] simulate-custom-policy.rst
[edit]
[-] tag-role.rst
[edit]
[-] untag-user.rst
[edit]
[-] get-policy-version.rst
[edit]
[-] untag-role.rst
[edit]
[-] update-saml-provider.rst
[edit]
[-] put-group-policy.rst
[edit]
[-] create-service-linked-role.rst
[edit]
[-] create-role.rst
[edit]
[-] get-context-keys-for-principal-policy.rst
[edit]
[-] update-group.rst
[edit]
[-] create-open-id-connect-provider.rst
[edit]
[-] create-group.rst
[edit]
[-] delete-virtual-mfa-device.rst
[edit]
[+]
wait
[-] list-roles.rst
[edit]
[-] delete-role-policy.rst
[edit]
[-] list-signing-certificates.rst
[edit]
[-] delete-service-linked-role.rst
[edit]
[-] list-users.rst
[edit]
[-] reset-service-specific-credential.rst
[edit]
[-] list-group-policies.rst
[edit]
[-] update-server-certificate.rst
[edit]
[-] simulate-principal-policy.rst
[edit]
[-] list-account-aliases.rst
[edit]
[-] list-entities-for-policy.rst
[edit]
[-] detach-role-policy.rst
[edit]
[-] attach-user-policy.rst
[edit]
[-] delete-account-password-policy.rst
[edit]
[-] delete-user-policy.rst
[edit]
[-] get-access-key-last-used.rst
[edit]
[-] put-user-policy.rst
[edit]
[-] get-credential-report.rst
[edit]
[-] delete-role.rst
[edit]
[-] get-instance-profile.rst
[edit]
[-] get-account-password-policy.rst
[edit]
[-] delete-access-key.rst
[edit]
[-] add-role-to-instance-profile.rst
[edit]
[-] add-client-id-to-open-id-connect-provider.rst
[edit]
[-] delete-open-id-connect-provider.rst
[edit]
[-] list-instance-profiles.rst
[edit]
[-] delete-policy-version.rst
[edit]
[-] list-role-tags.rst
[edit]
[-] delete-user.rst
[edit]
[-] list-role-policies.rst
[edit]
[-] put-role-policy.rst
[edit]
[-] create-account-alias.rst
[edit]
[-] update-signing-certificate.rst
[edit]
[-] remove-client-id-from-open-id-connect-provider.rst
[edit]
[-] get-saml-provider.rst
[edit]
[-] update-account-password-policy.rst
[edit]
[-] update-ssh-public-key.rst
[edit]
[-] create-login-profile.rst
[edit]
[-] get-role.rst
[edit]
[-] generate-credential-report.rst
[edit]
[-] detach-group-policy.rst
[edit]
[-] delete-service-specific-credential.rst
[edit]
[-] get-login-profile.rst
[edit]
[-] delete-server-certificate.rst
[edit]
[-] upload-server-certificate.rst
[edit]
[-] list-groups-for-user.rst
[edit]
[-] update-service-specific-credential.rst
[edit]
[-] list-groups.rst
[edit]
[-] add-user-to-group.rst
[edit]
[-] list-mfa-devices.rst
[edit]
[-] list-open-id-connect-providers.rst
[edit]
[-] remove-role-from-instance-profile.rst
[edit]
[-] list-saml-providers.rst
[edit]
[-] get-policy.rst
[edit]
[-] get-account-summary.rst
[edit]
[-] list-service-specific-credential.rst
[edit]
[-] remove-user-from-group.rst
[edit]
[-] get-user.rst
[edit]
[-] get-open-id-connect-provider.rst
[edit]
[-] create-service-specific-credential.rst
[edit]
[-] update-open-id-connect-provider-thumbprint.rst
[edit]
[-] upload-signing-certificate.rst
[edit]
[-] create-access-key.rst
[edit]
[-] delete-group-policy.rst
[edit]
[-] create-instance-profile.rst
[edit]
[-] get-group-policy.rst
[edit]
[-] update-assume-role-policy.rst
[edit]
[-] deactivate-mfa-device.rst
[edit]
[-] tag-user.rst
[edit]
[-] get-ssh-public-key.rst
[edit]
[-] delete-signing-certificate.rst
[edit]
[-] list-instance-profiles-for-role.rst
[edit]
[-] list-server-certificates.rst
[edit]
[-] update-login-profile.rst
[edit]
[-] update-access-key.rst
[edit]
[-] update-role-description.rst
[edit]
[-] list-attached-role-policies.rst
[edit]
[-] list-policies.rst
[edit]
[-] list-user-tags.rst
[edit]
[-] list-attached-user-policies.rst
[edit]