Create keys

You can create one key or multiple keys inside a collection by assigning them custom or automatically generated unique values and specifying other classificatory information if required. API keys serve as unique identifiers that enable edge servers to authenticate, track, and manage API consumers.

API: You can also complete this task by using the API Keys and Traffic Management API. Run the Create keys and Generate keys operations. Learn more about Akamai’s APIs.

How to

  1. In API Keys and Traffic Management, from the key collections list, select the collection where you want to create keys.
  2. In the collection panel, on the Keys tab, click Create keys.
    The Create key(s) window opens.
  3. Follow one of these steps:
    If you want to enter key values manually, follow these steps:
    1. From the drop-down menu, select Enter value(s) manually.
    2. In the Key value field, enter comma separated unique values for the keys that you create.
      Note: Based on the number of unique values you enter, the system automatically calculates the number of keys to create.
    If you want the system to generate key values, follow these steps:
    1. From the drop-down menu, select Generate values.
    2. In the Number of keys field, enter the number of keys that you want to generate.
  4. Optional: In the Key label field, enter a meaningful label for API Gateway reporting.
    API Gateway reports use key labels to display various data related to API usage. The more meaningful you make the label, the more easily you’ll be able to identify your keys when analyzing API Gateway reports.
  5. To make key labels incremental, set the Increment label switch to Yes.
    Note: The label’s increment starts with an underscore character followed by a numerical value based on the number of keys that you enter. For example, if you choose to generate 8 keys, the increments range from “_0” to “_7”. If you choose to generate 125 keys, the increments range from “_000” to “_124”.
  6. Optional: In the Description text box, enter additional information related to the keys you create.
  7. Optional: In the Tags field, enter or select the tags that you want to associate with the keys.
    The maximum number of tags that you can add is 10. Tags are additional key categories that let you filter keys in a collection.
  8. Click Save.
    The new keys appear in the collection.

Next steps

Ensure that the collection where you created the keys has API endpoints and resources selected in the Access control list tab. API keys are usable only if you specify the endpoints and resources that API consumers can access with the keys. To associate keys with API endpoints and resources, follow Edit an access control list.