Skip to main content
Version: 0.8

kcl registry login

Login to the kcl registry.

Usage

kcl registry login [options][kpm_registry]

Description

kcl registry login will login the kcl registry.

options

--username

Specify the username of the kcl registry.

--password

Specify the password of the kcl registry.

--help, -h

Show help for kcl registry login command.

Examples

login to a registry with account and password

kcl registry login -u <account_name> -p <password> <oci_registry>

The output is

Login succeeded

login to a registry with account, and enter the password interactively

kcl registry login -u <account_name> <oci_registry>

The output is

Password:
Login succeeded

login to a registry, and enter the account and password interactively

kcl registry login <oci_registry>

The output is

Username: <account_name>
Password:
Login succeeded