# vpctl configure command

> Manage registry credentials for vpctl.

Use the `configure` command group to manage the registry credentials that vpctl uses to pull releases. vpctl stores your credentials securely in your home directory.

## configure (interactive)

Set credentials interactively. The command prompts you for your username and password:

```sh
vpctl configure
```

By default, vpctl uses `uccmpprivatecloud.azurecr.io` as the registry. To set credentials for a different registry, run `vpctl configure set <registry-url>`.

## configure get

View your current configuration:

```sh
vpctl configure get
```

## configure set

Set credentials non-interactively. The registry argument is positional and defaults to `uccmpprivatecloud.azurecr.io`:

```sh
vpctl configure set <registry-url> --username <username> --password <password>
```

> **Warning:**
>
> Passing `--password` on the command line writes the password to your shell history file (`.bash_history`, `.zsh_history`) and to the process list (`ps aux`). On a local machine, use the interactive `vpctl configure` command instead. Reserve `configure set --password` for CI environments where history isn't retained, and source the value from a secret store rather than a literal.

## configure delete

Remove stored credentials. The registry argument is positional and defaults to `uccmpprivatecloud.azurecr.io`:

```sh
vpctl configure delete <registry-url>
```
