Password policy
akamai_iam_password_policy
Get your password requirement settings.
data "akamai_iam_password_policy" "my_password_policy" {
}
output "my_password_policy" {
value = data.akamai_iam_password_policy.my_password_policy
}
Changes to Outputs:
+ my_password_policy = {
+ case_dif = 0
+ max_repeating = 2
+ min_digits = 1
+ min_length = 15
+ min_letters = 1
+ min_non_alpha = 2
+ min_reuse = 4
+ pw_class = "my_pw_policy"
+ rotate_frequency = 365
}
Argument
This data source is passed empty. The config_section
argument in the Akamai provider block of your Terraform configuration provides the necessary information.
Attributes
Returned are the settings for your password policy.
Attribute | Description |
---|---|
case_dif | The minimum number of characters that need to be in a different case. |
max_repeating | The maximum allowed number of repeating characters. |
min_digits | The minimum number of digits in a password. |
min_length | The minimum length for a password. |
min_letters | The minimum number of letters in a password. |
min_non_alpha | The minimum number of non-alphabetic characters in a password. |
min_reuse | The minimum number of previous passwords to retain to prevent password reuse. |
pw_class | The password policy's ID. |
rotate_frequency | The number of days a password is valid. |
Updated 3 months ago