GuideReference
TrainingSupportCommunity
Guide

Authorized users

akamai_iam_authorized_user

Get a list your Akamai account's authorized users.

data "akamai_iam_authorized_users" "my_auth_users" {
}

output "my_auth_users" {
  value = data.akamai_iam_authorized_users.my_auth_users
}
Changes to Outputs:
  + my_auth_users = {
      + authorized_users = [
          + {
              + email          = "jsmith@email.com"
              + first_name     = "John"
              + last_name      = "Smith"
              + ui_identity_id = "A-BC-987654"
              + username       = "jsmith@email.com"
            },
          + {
              + email          = "janesmith@email.com"
              + first_name     = "Jane"
              + last_name      = "Smith"
              + ui_identity_id = "A-BC-1234567"
              + username       = "janesmith@email.com"
            },
          + {
              + email          = "jensmith@email.com"
              + first_name     = "Jen"
              + last_name      = "Smith"
              + ui_identity_id = "A-BC-7654321"
              + username       = "jensmith@email.com"
            },
        ]
    }

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 to you is an authorized_users list with details for each user.

AttributeDescription
emailThe user's email address.
first_nameThe user's given name.
last_nameThe user's surname.
ui_identity_idThe user's UI ID.
usernameThe user's Akamai Control Center name.