vpctl configure command
Manage registry credentials for vpctl.
Read time 1 minuteLast updated a day ago
Use the
configureconfigure (interactive)
Set credentials interactively. The command prompts you for your username and password:By default, vpctl usesvpctl configure
uccmpprivatecloud.azurecr.iovpctl configure set <registry-url>configure get
View your current configuration:vpctl configure get
onfigure set
Set credentials non-interactively. The registry argument is positional and defaults touccmpprivatecloud.azurecr.io--password-stdin--password-stdinUse theecho "$REGISTRY_PASSWORD" | vpctl configure set <registry-url> --username "$REGISTRY_USERNAME" --password-stdin
VPCTL_PASSWORDVPCTL_USERNAMEUseexport VPCTL_USERNAME=<username>export VPCTL_PASSWORD=<password>vpctl configure set <registry-url>
--passwordvpctl configure set <registry-url> --username <username> --password <password>
You can't use
--password--password-stdinvpctlVPCTL_PASSWORDconfigure delete
Remove stored credentials. The registry argument is positional and defaults touccmpprivatecloud.azurecr.iovpctl configure delete <registry-url>