Skip to main content
Version: v0.15 🚧

kusion mod login

Login to an oci registry for kusion modules

Synopsis

The login command logins to a oci registry for kusion module artifacts.

kusion mod login KUSION_MODULE_REGISTRY_URL [--username username --password password]

Examples

  # Login to a oci registry for kusion module artifacts
kusion mod login ghcr.io/kusion-module-registry --username username --password password

# Users can also set the username and password in the environment variables
export KUSION_MODULE_REGISTRY_USERNAME=username
export KUSION_MODULE_REGISTRY_PASSWORD=password
kusion mod login ghcr.io/kusion-module-registry

Options

  -h, --help              help for login
--password string The password of kusion module oci registry.
--username string The username of kusion module oci registry.

Options inherited from parent commands

      --profile string          Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none")
--profile-output string Name of the file to write the profile to (default "profile.pprof")

SEE ALSO

Auto generated by spf13/cobra on 21-Jan-2025