dcos cluster setup command will configure the connection to a DC/OS cluster, authenticate to DC/OS, and attach to the cluster.
dcos cluster setup <dcos-url> [OPTIONS]
||Enterprise The path to a file with trusted CAs to verify requests against.|
||Allow requests to bypass TLS certificate verification. This is insecure.|
||Enterprise Do not check the CA certificate downloaded from the cluster. This is insecure.|
||The path to a file that contains the password for login.|
||The password for login on the command line. This is insecure.|
||The path to a file that contains the private key.|
||Enterprise The authentication provider to use for login.|
||The username for login.|
||Specify a custom name for the cluster.|
||Do not auto-install dcos-core-cli and dcos-enterprise-cli plugins.|
If you do not specify one of the SSL options
--ca-certs, the CA certificate is downloaded from the cluster and a
sha256 fingerprint of the certificate is presented for verification.
||A URL or IP address to an accessible master node.|
Specify the username for login. When set, the
--username flag takes precedence over this environment variable.
Specify the password for login. When set, the password flags take precedence over this environment variable.
|dcos cluster||Manage DC/OS clusters.|
For examples, see Cluster Connections.