Access keys
akamai_cloudaccess_keys
Get a list of your access keys.
data "akamai_cloudaccess_keys" "my_access_keys" {
}
output "my_access_keys" {
value = data.akamai_cloudaccess_keys.my_access_keys
}
Changes to Outputs:
+ my_access_keys = {
+ access_keys = [
+ {
+ access_key_name = "MyAccessKey1"
+ access_key_uid = 12345
+ authentication_method = "AWS4_HMAC_SHA256"
+ created_by = "jsmith@example.com"
+ created_time = "2024-04-13T16:34:47.231623Z"
+ groups = [
+ {
+ contract_ids = [
+ "C-0N7RAC7",
]
+ group_id = 123456
+ group_name = "my-group-name-1"
},
+ {
+ contract_ids = [
+ "C-0N7RAC7",
]
+ group_id = 987654
+ group_name = "my-group-name-2"
},
]
+ latest_version = 1
+ network_configuration = {
+ additional_cdn = "RUSSIA_CDN"
+ security_network = "STANDARD_TLS"
}
},
+ {
+ access_key_name = "MyAccessKey2"
+ access_key_uid = 987654
+ authentication_method = "GOOG4_HMAC_SHA256"
+ created_by = "jsmith@email.com"
+ created_time = "2024-05-04T13:29:21.650042Z"
+ groups = [
+ {
+ contract_ids = [
+ "C-0N7RAC7",
]
+ group_id = 123456
+ group_name = "my-group-name-1"
},
+ {
+ contract_ids = [
+ "C-0N7RAC7",
]
+ group_id = 987654
+ group_name = "my-group-name-2"
},
]
+ latest_version = 1
+ network_configuration = {
+ additional_cdn = "CHINA_CDN"
+ security_network = "ENCHANCED_TLS"
}
},
]
}
Arguments
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 a set of your access_keys
and their details.
Attribute | Description |
---|---|
access_key_uid | The access key's ID. |
access_key_name | A human-readable name for your access key. |
groups | A set of groups using the key. Contains:
|
authentication_method | The type of authentication. Value is one of:
|
created_time | When the key was created in ISO 8601 format. |
created_by | The name of the user who created the key. |
latest_version | The most recent version of an access key. |
network_configuration | The key's network deployment details. Contains:
|
Updated 5 months ago