The API key is used instead of the user credentials during API operations. On this page, you can find information on how to manage the API keys.
Create API Key
We do not store the API keys for security reasons.
To generate a key for a user, go to the user's profile page at Control Panel > Admin > Users > Full Name and click the Add API Key button in the API Info section. On the dialog box that loads you will see the generated key and can add it a description. Please note that the is the only time you can see and copy an API key. After you click Create, a key will is added into the API Info section, but you can not see the entire key or recover it.
There is a limit of 100 API keys per user. To increase the limit:
Open file/onapp/interface/config/info_hub.yml
Add parameter api.max_keys and set an appropriate value for API keys limit.
Manage API Key
To see a whole list of API keys assigned to a user together with their details:
Go to the user's profile page at Control Panel > Admin > Users > Full Name and clickManage API Keys in the API Infosection. On the page that loads, you will see the list of API keys together with their details:
Key - first 5 symbols of a key Description - description of a key added during creation Created Date - date and time when a key was created Last Access Date - date and time when the key was last used Delete - click to delete a key