cdsctl login

Login to CDS

Synopsis

For admin signup with LDAP driver, INIT_TOKEN environment variable must be set.

cdsctl login [flags]

Examples

Use it with 'eval' and 'env' flag to set environment variable: eval $(cds login -H API_URL -u USERNAME -p PASSWORD --env)

Options

  -H, --api-url string    Url to your CDS api.
  -d, --driver string     An enabled auth driver to login with. This should be local, GitHub, GitLab, Ldap, builtin or corporate-sso
      --env               Display the commands to set up the environment for the cds client.
  -p, --password string   
      --token string      A CDS token that can be used to login with a builtin auth driver.
  -u, --username string   The identifier name needed by selected auth driver

Options inherited from parent commands

  -c, --context string   cdsctl context name
  -f, --file string      set configuration file
      --insecure         (SSL) This option explicitly allows curl to perform "insecure" SSL connections and transfers.
  -n, --no-interactive   Set to disable interaction with ctl
      --verbose          Enable verbose output

SEE ALSO