Users
akamai_iam_users
Get a list of all your users or all users by group.
data "akamai_iam_users" "users" {
group_id = 12345
}
output "users" {
value = data.akamai_iam_users.users
}
test = {
group_id = 12345
users = [
{
account_id = "act_A-CCT1234"
actions = {
api_client = true
can_edit_mfa = true
can_edit_none = true
can_edit_tfa = true
delete = true
edit = true
edit_profile = true
is_cloneable = true
reset_password = true
third_party_access = false
}
additional_authentication = "NONE"
additional_authentication_configured = false
auth_grants = [
{
group_id = 112345
group_name = "My group"
is_blocked = false
role_description = "This role provides the maximum access to users. An Administrator can perform admin tasks such as creating users and groups; configuration-related tasks such as creating and editing configurations; publishing tasks"
role_id = 3
role_name = "Admin"
sub_groups = []
},
]
email = "jsmith@email.com"
first_name = "John"
is_locked = false
last_login_date = "2024-09-20T21:08:48.727Z"
last_name = "Smith"
tfa_configured = false
tfa_enabled = false
ui_identity_id = "A-BC-987654"
ui_user_name = "jsmith@email.com"
},
{
account_id = "act_A-CCT1234"
actions = {
api_client = true
can_edit_mfa = true
can_edit_none = true
can_edit_tfa = true
delete = true
edit = true
edit_profile = true
is_cloneable = true
reset_password = true
third_party_access = false
}
additional_authentication = "NONE"
additional_authentication_configured = false
auth_grants = [
{
group_id = 112345
group_name = "My group"
is_blocked = false
role_description = "This role provides the maximum access to users. An Administrator can perform admin tasks such as creating users and groups; configuration-related tasks such as creating and editing configurations; publishing tasks"
role_id = 3
role_name = "Admin"
sub_groups = []
},
]
email = "janesmith@email.com"
first_name = "Jane"
is_locked = false
last_login_date = "2024-02-13T06:54:22.544Z"
last_name = "Smith"
tfa_configured = false
tfa_enabled = false
ui_identity_id = "A-BC-1234567"
ui_user_name = "janesmith@email.com"
},
]
}
Argument
Pass this data source empty to get a list of all of your users or narrow down the results by passing a group_id in the data block.
Attributes
| Attribute | Description |
|---|---|
ui_identity_id | The user's UI ID. |
account_id | The user's account ID. |
actions | The operations you can perform on the group. Each ability is a boolean. true allows the action, and false denies it. Contains:
|
additional_authentication | The user's type of multi-factor authentication, if any. |
additional_authentication_configured | Whether multi-factor authentication is configured for the user. |
auth_grants | Contains:
|
email | A user's email address. |
first_name | A user's given name. |
last_name | The user's surname. |
tfa_configured | Whether two-factor authentication is configured. |
tfa_enabled | Whether two-factor authentication is enabled. |
ui_user_name | The user's Akamai Control Center name. |
Updated 16 days ago
