powered by
Retrieves the password policy for the AWS account. For more information about using a password policy, go to Managing an IAM Password Policy.
iam_get_account_password_policy()
A list with the following syntax:
list( PasswordPolicy = list( MinimumPasswordLength = 123, RequireSymbols = TRUE|FALSE, RequireNumbers = TRUE|FALSE, RequireUppercaseCharacters = TRUE|FALSE, RequireLowercaseCharacters = TRUE|FALSE, AllowUsersToChangePassword = TRUE|FALSE, ExpirePasswords = TRUE|FALSE, MaxPasswordAge = 123, PasswordReusePrevention = 123, HardExpiry = TRUE|FALSE ) )
if (FALSE) { # The following command displays details about the password policy for the # current AWS account. svc$get_account_password_policy() }
Run the code above in your browser using DataLab