---
syntax: markdown
tags: [tldr, windows]
source: https://github.com/tldr-pages/tldr.git
---
# choco apikey

> Manage API keys for Chocolatey sources.
> More information: <https://docs.chocolatey.org/en-us/create/commands/api-key/>.

- Display a list of sources and their API keys:

`choco apikey`

- Display a specific source and its API key:

`choco apikey {{[-s|--source]}} "{{source_url}}"`

- Set an API key for a source:

`choco apikey {{[-s|--source]}} "{{source_url}}" {{[-k|--api-key]}} "{{api_key}}"`

- Remove an API key for a source:

`choco apikey {{[-s|--source]}} "{{source_url}}" --remove`
