class
Amazonite::Iam::PasswordPolicy
- Amazonite::Iam::PasswordPolicy
- Reference
- Object
Overview
Contains information about the account password policy.
This data type is used as a response element in the GetAccountPasswordPolicy operation.
Defined in:
iam/password_policy.crConstructors
- .from_xml(node : XML::Node) : self
- .new(minimum_password_length : Int32 | Nil = nil, require_symbols : Bool | Nil = nil, require_numbers : Bool | Nil = nil, require_uppercase_characters : Bool | Nil = nil, require_lowercase_characters : Bool | Nil = nil, allow_users_to_change_password : Bool | Nil = nil, expire_passwords : Bool | Nil = nil, max_password_age : Int32 | Nil = nil, password_reuse_prevention : Int32 | Nil = nil, hard_expiry : Bool | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#allow_users_to_change_password : Bool | Nil
Specifies whether IAM users are allowed to change their own password.
-
#allow_users_to_change_password=(allow_users_to_change_password : Bool | Nil)
Specifies whether IAM users are allowed to change their own password.
-
#expire_passwords : Bool | Nil
Indicates whether passwords in the account expire.
-
#expire_passwords=(expire_passwords : Bool | Nil)
Indicates whether passwords in the account expire.
-
#hard_expiry : Bool | Nil
Specifies whether IAM users are prevented from setting a new password via the Amazon Web Services Management Console after their password has expired.
-
#hard_expiry=(hard_expiry : Bool | Nil)
Specifies whether IAM users are prevented from setting a new password via the Amazon Web Services Management Console after their password has expired.
-
#hash(hasher)
See
Object#hash(hasher) -
#max_password_age : Int32 | Nil
The number of days that an IAM user password is valid.
-
#max_password_age=(max_password_age : Int32 | Nil)
The number of days that an IAM user password is valid.
-
#minimum_password_length : Int32 | Nil
Minimum length to require for IAM user passwords.
-
#minimum_password_length=(minimum_password_length : Int32 | Nil)
Minimum length to require for IAM user passwords.
-
#password_reuse_prevention : Int32 | Nil
Specifies the number of previous passwords that IAM users are prevented from reusing.
-
#password_reuse_prevention=(password_reuse_prevention : Int32 | Nil)
Specifies the number of previous passwords that IAM users are prevented from reusing.
-
#require_lowercase_characters : Bool | Nil
Specifies whether IAM user passwords must contain at least one lowercase character (a to z).
-
#require_lowercase_characters=(require_lowercase_characters : Bool | Nil)
Specifies whether IAM user passwords must contain at least one lowercase character (a to z).
-
#require_numbers : Bool | Nil
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
-
#require_numbers=(require_numbers : Bool | Nil)
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
-
#require_symbols : Bool | Nil
Specifies whether IAM user passwords must contain at least one of the following symbols:
-
#require_symbols=(require_symbols : Bool | Nil)
Specifies whether IAM user passwords must contain at least one of the following symbols:
-
#require_uppercase_characters : Bool | Nil
Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).
-
#require_uppercase_characters=(require_uppercase_characters : Bool | Nil)
Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).
- #to_query_params(prefix : String) : Array(Tuple(String, String))
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Specifies whether IAM users are allowed to change their own password. Gives IAM users
permissions to iam:ChangePassword for only their user and to the
iam:GetAccountPasswordPolicy action. This option does not attach a permissions policy to each
user, rather the permissions are applied at the account-level for all users by IAM.
Specifies whether IAM users are allowed to change their own password. Gives IAM users
permissions to iam:ChangePassword for only their user and to the
iam:GetAccountPasswordPolicy action. This option does not attach a permissions policy to each
user, rather the permissions are applied at the account-level for all users by IAM.
Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a
value greater than 0. Returns false if MaxPasswordAge is 0 or not present.
Indicates whether passwords in the account expire. Returns true if MaxPasswordAge contains a
value greater than 0. Returns false if MaxPasswordAge is 0 or not present.
Specifies whether IAM users are prevented from setting a new password via the Amazon Web
Services Management Console after their password has expired. The IAM user cannot access the
console until an administrator resets the password. IAM users with iam:ChangePassword
permission and active access keys can reset their own expired console password using the CLI or
API.
Specifies whether IAM users are prevented from setting a new password via the Amazon Web
Services Management Console after their password has expired. The IAM user cannot access the
console until an administrator resets the password. IAM users with iam:ChangePassword
permission and active access keys can reset their own expired console password using the CLI or
API.
The number of days that an IAM user password is valid.
Minimum length to require for IAM user passwords.
Specifies the number of previous passwords that IAM users are prevented from reusing.
Specifies the number of previous passwords that IAM users are prevented from reusing.
Specifies whether IAM user passwords must contain at least one lowercase character (a to z).
Specifies whether IAM user passwords must contain at least one lowercase character (a to z).
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
Specifies whether IAM user passwords must contain at least one of the following symbols:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Specifies whether IAM user passwords must contain at least one of the following symbols:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).
Specifies whether IAM user passwords must contain at least one uppercase character (A to Z).