cue login

CUE v0.18.0

log into a CUE registry

Usage

cue login [registry] [flags]

Log into a CUE registry via the OAuth 2.0 Device Authorization Grant. Without an argument, CUE_REGISTRY is used if it points to a single registry.

Use the --token flag to provide a token generated via the web interface, removing the need for a human to interact with the OAuth device flow.

Once the authorization is successful, a token is stored in a logins.json file inside $CUE_CONFIG_DIR; see 'cue help environment'.

To log into other OCI registries, use 'docker login' or 'podman login'. The cue tool supports credentials configured via these tools:

	https://cuelang.org/docs/reference/modules/#authorization

Flags

--token string                     provide an access token rather than starting the OAuth device flow

Global flags

-E, --all-errors                   print all available errors
-C, --chdir string                 change working directory before running command (must be the first flag)
-i, --ignore                       proceed in the presence of errors
-s, --simplify                     simplify output
Install CUE