Policy: AWS > IAM > Account Password Policy > Settings > Max Age
You can set IAM user passwords to be valid for only the specified number of days. You specify the number of days that passwords remain valid after they are set. For example, when you enable password expiration and set the password expiration period to 90 days, an IAM user can use a password for up to 90 days. After 90 days, the password expires and the IAM user must set a new password before accessing the AWS Management Console. You can choose a password expiration period between 1 and 1095 days, inclusive.
Refer to Setting an account password policy for IAM users for more information on account password policies.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Policy Packs
This policy setting is used by the following policy packs:
Policy Specification
Schema Type |
|
---|---|
Default |
|
Examples [YAML] | 90 |
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/other
- tmod:@turbot/aws-iam#/policy/types/accountPasswordPolicySettingsMaxAge
- turbot graphql policy-type --id "tmod:@turbot/aws-iam#/policy/types/accountPasswordPolicySettingsMaxAge"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/aws-iam#/policy/types/accountPasswordPolicySettingsMaxAge"
Get Policy TypeGet Policy Settings