tldr/pages/windows/choco-apikey.md

21 lines
450 B
Markdown
Raw Normal View History

2019-04-01 18:38:51 +01:00
# choco-apikey
> Manage API keys for Chocolatey sources.
> Homepage: <https://chocolatey.org/docs/commands-apikey>.
- Display a list of sources and their API keys:
`choco apikey`
- Display a specific source and its API key:
`choco apikey --source "{{source_url}}"`
- Set an API key for a source:
`choco apikey --source "{{source_url}}" --key "{{api_key}}"`
- Remove an API key for a source:
`choco apikey --source "{{source_url}}" --remove`