dcos auth login

Authenticating to DC/OS


The dcos auth login command allows you to authenticate to DC/OS. The dcos cluster setup command also runs dcos auth login.


dcos auth login [OPTION]


Name Description
--ca-certs=<ca-certs> Enterprise The path to a list of trusted CAs to verify requests against.
--insecure Allow requests to bypass SSL certificate verification. Analogous to dcos config set core.ssl_verify=False
--no-check Enterprise Do not check the CA certificate downloaded from the cluster. This is insecure.
--password-env=<password_env> The name of an environment variable that contains the password for login.
--password-file=<password_file> The path to a file that contains the password for login.
--password=<password> The password for login. This is insecure.
--private-key=<key_path> The path to a file that contains the private key.
--provider=<provider_id> Enterprise The authentication provider to use for login.
--username=<username> The username for login.

SSL options

If you do not specify one of the SSL options --insecure, --no-check, or --ca-certs, the CA certificate is downloaded from the cluster and a sha256 fingerprint of the certificate is presented to you for verification.

Parent command

Command Description
dcos auth Manage DC/OS identity and access.