choco-apikey: add page (#2836)
This commit is contained in:
20
pages/windows/choco-apikey.md
Normal file
20
pages/windows/choco-apikey.md
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# 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`
|
Reference in New Issue
Block a user