Import keys

If you already have API keys and do not want to create new ones, you can import to a collection a JSON, XML, or CSV file with details about your keys. The file that you import must contain your keys’ unique values and other classificatory information if required.

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

How to

  1. In API Keys and Traffic Management, from the key collections list, select the collection that you want to import keys to.
  2. In the collection panel, on the Keys tab, click Import keys.
  3. In the Import keys window, in the File area, click Choose file and go to the file that you want to upload.
    Depending on the file type, you should present information about the keys that you import according to specific formatting rules. See the following examples:
    <?xml version="1.0"?>
     “value”: “value”,
     “label”: “label”,
     “tags”: [”tag1”, “tag2”]
    Note: The value is the only mandatory element that you must include in the imported file. The label and tags are optional.
  4. Click Import.
    The imported keys appear in the collection.

Next steps

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