Learn R Programming

paws.security.identity (version 0.1.12)

iam_get_account_password_policy: Retrieves the password policy for the AWS account

Description

Retrieves the password policy for the AWS account. For more information about using a password policy, go to Managing an IAM Password Policy.

Usage

iam_get_account_password_policy()

Arguments

Value

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
  )
)

Examples

Run this code
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