barista api-key command provides a set of subcommands that allow you to manage API keys.
barista api-key create command is used to create a new API key.
barista api-key create --api-id abc123
--api-id <api-id>: Specifies the ID of the API for which you want to create a new API key. This ID can be retrieved with the
barista api listcommand. You can set it from the environment variable
barista api-key delete command is used to delete an API key by its ID.
barista api-key delete api-key123
<id>: Specifies the ID of the API key you want to delete.
barista api-key list command is used to list all API keys of a workspace.
barista api-key list