evroc login
Login to the evroc cloud
evroc login [flags]
Examples
# Log in interactively in the browser (supports MFA)
$ evroc login
# Log in non-interactively with a service account
$ evroc login --non-interactive \
--service-account my-sa \
--service-account-credential ./service-account-key \
--project "$PROJECT"
# The same, from the environment
$ export EVROC_SERVICE_ACCOUNT=my-sa
$ export EVROC_SERVICE_ACCOUNT_CREDENTIAL=./service-account-key
$ evroc login --non-interactive --project "$PROJECT"
Options
-d, --domain string evroc domain to connect to (default "evroc.com")
-h, --help help for login
--non-interactive WARNING: only for internal, non-interactive testing use cases. Requires additional credential and scope flags; see examples.
--oidc-port uint16 Port to use for OIDC login callback. (default 8000)
-o, --organization string Organization to log in to. Can be omitted: --project determines it.
--profile-name string Name of the profile to create or update.
-p, --project string Project to log in to.
--service-account string service account ID for non-interactive login (env: EVROC_SERVICE_ACCOUNT)
--service-account-credential string service account private credential: a file path or base64 key material (env: EVROC_SERVICE_ACCOUNT_CREDENTIAL)
Options inherited from parent commands
--config string Path to the evroc config file (default "~/.evroc/config.yaml")
SEE ALSO
- evroc - evroc CLI