Access key versions
akamai_cloudaccess_key_versions
Get a list of versions for a given access key.
data "akamai_cloudaccess_key_versions" "my_access_key_versions" {
access_key_name = "MyAccessKeyName"
}
output "my_access_key_versions" {
value = data.akamai_cloudaccess_key_versions.my_access_key_versions
}
Changes to Outputs:
+ my_access_key_versions = {
+ access_key_name = "MyAccessKeyName"
+ access_key_uid = 12345
+ access_key_versions = [
+ {
+ cloud_access_key_id = "ABCDEFGHIJKL2"
+ created_by = "jsmith@example.com"
+ created_time = "2024-06-14T09:32:06.137823Z"
+ deployment_status = "PENDING_ACTIVATION"
+ version = 2
+ version_guid = "a1b23c4d-56e7-89fg-hijk-12lmn3op4qr"
},
+ {
+ cloud_access_key_id = "ABCDEFGHIJKL1"
+ created_by = "jsmith@example.com"
+ created_time = "2024-06-14T09:20:51.300709Z"
+ deployment_status = "ACTIVE"
+ version = 1
+ version_guid = "123a4567-891b-23cd-efgh-45678912345i"
},
]
}
Argument
Pass a key's access_key_name
to get its versions. Run the akamai_cloudaccess_keys
data source to retrieve the key name.
Attributes
Returned to you is information about the access_key_versions
for a specific key.
Attribute | Description |
---|---|
access_key_uid | The access key's ID. |
access_key_name | A human-readable name for your access key. |
access_key_versions | A list of the access key's versions. Contains:
|
Updated 5 months ago