# doctl gradient openai-key – DigitalOcean Documentation > The subcommands of `doctl gradient openai-key` allow you to access and manage OpenAI API keys. - [doctl gradient openai-key create](https://docs.digitalocean.com/reference/doctl/reference/gradient/openai-key/create/index.html.md): Creates a new OpenAI API Key with the specified name and API key. - [doctl gradient openai-key delete](https://docs.digitalocean.com/reference/doctl/reference/gradient/openai-key/delete/index.html.md): Deletes an OpenAI API Key by its UUID. - [doctl gradient openai-key get](https://docs.digitalocean.com/reference/doctl/reference/gradient/openai-key/get/index.html.md): Retrieves information about an OpenAI API Key - [doctl gradient openai-key get-agents](https://docs.digitalocean.com/reference/doctl/reference/gradient/openai-key/get-agents/index.html.md): Lists all agents that are using the specified OpenAI API Key - [doctl gradient openai-key list](https://docs.digitalocean.com/reference/doctl/reference/gradient/openai-key/list/index.html.md): Lists all OpenAI API Keys available in your account - [doctl gradient openai-key update](https://docs.digitalocean.com/reference/doctl/reference/gradient/openai-key/update/index.html.md): Updates an existing OpenAI API Key with the specified name and API key.