Access key
akamai_cloudaccess_key
Get details about a given access key.
data "akamai_cloudaccess_key" "my_access_key" {
access_key_name = "MyAccessKeyName"
}
output "my_access_key" {
value = data.akamai_cloudaccess_key.my_access_key
}
Changes to Outputs:
+ my_access_key = {
+ access_key_name = "MyAccessKeyName"
+ access_key_uid = 12345
+ authentication_method = "AWS4_HMAC_SHA256"
+ created_by = "jsmith@email.com"
+ created_time = "2024-06-10T08:04:27.278697Z"
+ 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"
}
}
// local
access_key_name = akamai_cloudaccess_key.my_access_key.access_key_name
// tvars
access_key_name = var.access_key_name
Arguments
Pass a key's access_key_name
to get its details. key. Run the akamai_cloudaccess_keys
data source to retrieve the key name.
Attributes
Returned to you is information about your access key.
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