ol list api-keys

Display the list of OL Hub api-keys

You list all your account-level API keys by executing the ol list api-keys 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 view the account-level API keys on their OL Hub user profile page. 

Rules

  • Log in to the OL Hub with an account-level API key.

Syntax

ol list api-keys [OPTIONS]

Options

--limit,-l

 The total number of API keys to return.

--offset,-o

 The maximal number of API keys to show per page.

--filter,-f

 The regular expression to filter the list by API key name.

Example

List all account-level API keys

> ol list api-keys
$ ol list api-keys

List 100 account-level API keys, 10 per page

> ol list api-keys —limit 100 —offset 10
$ ol list api-keys —limit 100 —offset 10

List account-level API keys whose name contains the word "test"

> ol list api-keys -f test
$ ol list api-keys -f test