Create new api-key
You can create account-level API keys by executing the ol create api-key command. Account-level API keys are associated with an account and, in contrast to user-level API keys, are not revoked when the user is deleted from the account.
Admin users can also generate an account-level API key on their OL Hub user profile page.
Rules
- Log in to the OL Hub with an account-level API key.
Syntax
ol create api-key API_KEY_NAME [OPTIONS]
Argument
API_KEY_NAME
The new account-level API key name.
Example
Create an account-level API key.
> ol create api-key acc1
$ ol create api-key acc1