...
Inside the management console, click the Settings menu item on the left side of the screen.
...
Scroll down to the API keys section in the main part of the screen. Flip the switch to turn on API keys for the tenant, set the allowed maximum token age, and set the maximum number of active API keys a user may have in the tenant.
...
Another requirement for generating API keys is for a user to have the developer
role. In the management console menu, click Users to open the Users section and select 'Edit roles' from the elipsis menu for the user you want to add the developer
role to.
...
Check the box next to Developer to give the user developer privileges in your tenant. Save the change.
...
Now that API keys are turned on in the tenant and the user has the developer role, have the user log in to your tenant and click the avatar in the upper-right corner of the screen. Click the API keys menu item. This action displays the API keys list for the user. Click the Generate new key button to create a new API key.
...
Give the new API key a name and set the expiration time from the drop-down list. Click the Generate button to generate the API key.
...
The generated API key appears. Copy it using any of the copy buttons and paste it somewhere safe.
...