In API Keys and Traffic Management you can perform various single and batch
operations on keys that are part of the same collection. These include creating or importing
keys, exporting keys, moving keys from one collection to another, editing information about
individual keys, revoking keys, and restoring revoked keys. If you enable user quota at the
collection level, you can also reset the quota counter for specific keys
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. 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. Export keys You can export API keys included in a key collection to a JSON, CSV, or XML file. The export file includes metadata about the keys and their parent collection, the keys’ status at the time of the export, and the remaining quota at the time of the export. Move keys You can move one or multiple keys to a collection that already exists in API Keys and Traffic Management, or you can create a new collection and make it the destination for your keys. This option is particularly useful for preserving keys stored in a collection that you intend to delete. Edit a key You can edit the label, value, description, and tags associated with any key that already exists in a collection. Revoke keys You can revoke one or multiple keys inside a key collection. When you revoke keys, you do not delete them permanently because you can restore them within the next 120 days. After this period, the system removes the keys irreversibly. API consumers that identify with revoked keys cannot access the resources and endpoints listed in the Access control list tab of a particular collection. Restore keys You can restore one or multiple revoked keys inside a key collection within 120 days following the revocation. After this period, the system removes the keys irreversibly. API consumers that identify with restored keys regain access to previously unavailable endpoints and resources. Reset key quota In API Keys and Traffic Management, you can monitor the remaining quota for each API key inside a collection. If a key is close to the quota threshold and you do not want to wait for the automatic quota reset to make the key usable again, you can reset the quota for the key manually.