Difference between revisions of "Aws iam change-password"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
https://docs.aws.amazon.com/cli/latest/reference/iam/change-password.html
 
https://docs.aws.amazon.com/cli/latest/reference/iam/change-password.html
 
  [[aws iam]] change-password
 
  [[aws iam]] change-password
 +
aws iam change-password --cli-input-json file://change-password.json
  
 +
 +
Errors:
 +
  An error occurred ([[AccessDenied]]) when calling the [[ChangePassword]] operation: User: arn:aws:iam::146910341356:user/MY_USERNAME [[is not authorized to perform]]: [[iam:ChangePassword]] on resource: user MY_USERNAME [[with an explicit deny]]
 +
 +
 +
 +
== Related ==
 +
* Default password policy: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_account-policy.html#default-policy-details
 +
** Minimum password length of 8 characters and a maximum length of 128 characters
 +
** Minimum of three of the following mix of character types: uppercase, lowercase, numbers, and ! @ # $ % ^ & * ( ) _ + - = [ ] { } | ' symbols
 +
** Not be identical to your AWS account name or email address
 +
 +
* [[2FA]]
 +
* <code>[[iam:ChangePassword]]</code>
 +
* <code>[[IAMUserChangePassword]]</code>
 +
* <code>[[passwd]]</code> linux command
  
 
== See also ==
 
== See also ==

Latest revision as of 18:34, 11 September 2023

https://docs.aws.amazon.com/cli/latest/reference/iam/change-password.html

aws iam change-password
aws iam change-password --cli-input-json file://change-password.json


Errors:

 An error occurred (AccessDenied) when calling the ChangePassword operation: User: arn:aws:iam::146910341356:user/MY_USERNAME is not authorized to perform: iam:ChangePassword on resource: user MY_USERNAME with an explicit deny


Related[edit]

See also[edit]

Advertising: