Zum Hauptinhalt springen

lumen login

Befehllumen login

Sign in through your browser, store the token, and make the context (server and workspace) current. Without flags it signs in to the built-in server and takes your workspace from the login. Other installs are configured once with flags, which the context then remembers.

You rarely need this command: any other command signs in by itself when it has to.

Usage​

lumen login [flags]

Examples​

lumen login
lumen login --server https://api.lumen.example \
--issuer https://login.lumen.example/ --client-id <id> --audience https://api.lumen.example

Flags​

FlagShortValueDescription
--audience-stringaudience to request the access token for
--certificate-authority-stringPEM file of a CA to trust for the server
--client-id-stringOIDC client ID of the lumen CLI at the issuer
--insecure-skip-tls-verify--do not verify the server's certificate (testing only)
--issuer-stringOIDC issuer URL of the install's identity provider
--scopes-stringsOIDC scopes (default openid,profile,email,offline_access)
--static-token-stringstore this bearer token instead of logging in (CI, service accounts)
--use-id-token--send the ID token instead of the access token

Global flags​

Every command takes the global flags.