GuideReference
TrainingSupportCommunity
Guide

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.

AttributeDescription
case_difThe minimum number of characters that need to be in a different case.
max_repeatingThe maximum allowed number of repeating characters.
min_digitsThe minimum number of digits in a password.
min_lengthThe minimum length for a password.
min_lettersThe minimum number of letters in a password.
min_non_alphaThe minimum number of non-alphabetic characters in a password.
min_reuseThe minimum number of previous passwords to retain to prevent password reuse.
pw_classThe password policy's ID.
rotate_frequencyThe number of days a password is valid.