mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-01 23:42:42 +00:00
26 lines
552 B
Plaintext
26 lines
552 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, windows]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# choco apikey
|
|
|
|
> Manage API keys for Chocolatey sources.
|
|
> More information: <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`
|