dcos cluster setup

Configuring a connection to a DC/OS cluster


The dcos cluster setup command allows you to configure the connection to a DC/OS cluster, authenticate to DC/OS, and attach to the cluster.


dcos cluster setup <dcos-url> [OPTIONS]


Name, shorthand 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 for verification.

Positional arguments

Name, shorthand Description
<dcos-url> A URL or IP address to an accessible master node.

Parent command

Command Description
dcos cluster Manage DC/OS clusters.


For examples, see Cluster Connections.