GuideReference
TrainingSupportCommunity
Guide

Access key properties

akamai_cloudaccess_key_properties

Get a list of properties linked to your access key.

data "akamai_cloudaccess_key_properties" "my_ak_properties" {
    access_key_name = "MyAccessKeyName"
}

output "my_ak_properties" {
    value = data.akamai_cloudaccess_key_properties.my_ak_properties
}
Changes to Outputs:
  + my_ak_properties = {
      + access_key_name = "MyAccessKeyName"
      + access_key_uid  = 12345
      + properties      = [
          + {
              + access_key_version = 1
              + production_version = 1
              + property_id        = "prp_123456"
              + property_name      = "my-property-name-1"
              + staging_version    = null
            },
          + {
              + access_key_version = 2
              + production_version = null
              + property_id        = "prp_987654"
              + property_name      = "my-property-name-2"
              + staging_version    = 2
            },
        ]
    }

Argument

Pass a key's access_key_name to get properties linked to that key. Run the akamai_cloudaccess_keys data source to retrieve the key name.

Attributes

Returned to you is information about the properties a specific access key is assigned to.

AttributeDescription
access_key_uidThe access key's ID.
access_key_nameA human-readable name for your access key.
propertiesA list of properties using your access key. Contains:
  • property_id. The property's ID.
  • property_name. The property's name.
  • access_key_version. The access key's version.
  • staging_version. Identifies a specific property version whose staging status is either active or activating.
  • production_version. Identifies a specific property version whose production status is either active or activating.