> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-registry/password-change.md).

# password-change

The cldkctl registry password-change command updates the password used for accessing your private registry. This command allows you to set a new authentication password for your registry.

## Usage

```
cldkctl registry password-change [flags]
```

## Steps

Follow the steps below to run and view the result of this command:

1. Use the --registry global flag to specify which registry you want to update the password for.
2. Run the following command in your terminal:

```
cldkctl --registry <registry_name> registry password-change
```

3. Enter your current password when prompted.

* This refers to your user login password (the same password used to sign in to the Service Portal AI).
* It is not the registry password displayed from the Registry Password command.

3. Enter your new password to replace the old one.

* The new password must be different from your current password.
* If the same password is entered, the system will display an error message.

5. If the password update fails, you will have up to three attempts before the process stops.
6. Once the password is successfully changed, you can use the new password for registry authentication.

<figure><img src="/files/WRtDVqvqhRfIh1OpWokr" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}

1. This command supports [global flags.](/cloudeka-api-list/global-flags.md) Refer to the Global Flags section for details.
2. Ensure you remember your new password, as it will be required for all future registry authentication activities
   {% endhint %}

| Flag                      | Description                                    |
| ------------------------- | ---------------------------------------------- |
| -h, --help                | Help for the registry password-change command. |
| -n, --new-password string | New user password.                             |
| -p, --password string     | User password for authentication.              |
