Skip to content

Using the CLI using an API Key

jpmarceau edited this page Aug 3, 2021 · 2 revisions

What is an API Key?

In the context of the Coveo Platform, an API key is an access token carrying a certain set of privileges in a specific Coveo organization. It can grant access to Coveo APIs and can be used as an authentication method to use the CLI.

How to create an API Key?

The simplest way to create an API key is via the Coveo Administration Console, but you can also create one programmatically. Refer to our documentation for detailed instructions on creating and managing API Keys.

What privileges does my API Key need?

The privileges you need to grant your API key depend on what you'll do with the CLI.

ui:create:*

To use the ui:create commands, you'll need the following permissions on the target API key: