Skip to main content
Version: 0.6

kpm login

Login to the kpm registry.

Usage

kpm login [options][kpm_registry]

Description

kpm login will login the kpm registry.

options

--username

Specify the username of the kpm registry.

--password

Specify the password of the kpm registry.

--help, -h

Show help for kpm login command.

Examples

login to a registry with account and password

kpm login -u <account_name> -p <password> <oci_registry>

The output is

Login succeeded

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

kpm login -u <account_name> <oci_registry>

The output is

Password:
Login succeeded

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

kpm login <oci_registry>

The output is

Username: <account_name>
Password:
Login succeeded