iam_get_account_password_policy: Retrieves the password policy for the AWS account

Description Usage Value Examples

View source: R/iam_operations.R

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

1

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
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

1
2
3
4
5
6
## Not run: 
# The following command displays details about the password policy for the
# current AWS account.
svc$get_account_password_policy()

## End(Not run)

paws.security.identity documentation built on Aug. 23, 2021, 9:16 a.m.