kosa8 docs

Commands / kosa8 login

kosa8 login

Log in to a registry

Usage

kosa8 login [SERVER]

Stores the credential in ~/.kosa8/credentials.json, readable only by you. Passing the password as an argument leaves it in your shell history — prefer the prompt, or --password-stdin.

Options

FlagTypeWhat it doesDefault
-p, --passwordstringregistry password or token
--password-stdinboolread the password from stdin
-u, --usernamestringregistry username