Manage API keys using the CLI
To use the Preview or Delivery API, you require a valid API key. These API keys can be created, renamed, or revoked using the CLI.
Create an API key
Note
You will only see the API key once after the command completes, so store it in a safe location for later use.
List available API keys
Listing the API keys is a convenient way to get an overview of all API keys presently available in the connected tenant, including the hash values required to rename or revoke API keys.
Rename an existing API key
Renaming an API key requires the hash, which can be obtained from the list command.
Revoke an existing API key
Revoking an API key requires the hash, which can be obtained from the list command.