2022-10-25 14:32:51 +01:00
|
|
|
# choco apikey
|
2019-04-01 18:38:51 +01:00
|
|
|
|
|
|
|
> Manage API keys for Chocolatey sources.
|
2019-06-03 01:06:36 +01:00
|
|
|
> More information: <https://chocolatey.org/docs/commands-apikey>.
|
2019-04-01 18:38:51 +01:00
|
|
|
|
|
|
|
- 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`
|