<commit_before>---
post_title: dcos auth login
menu_order: 2
---

# Description
Log in to DC/OS authentication. 

# Usage

```bash
dcos auth login [OPTION]
```

# Options

| Name, shorthand | Default | Description |
|---------|-------------|-------------|
| `--password=<password>`   |             | Specify password on the command line (insecure). |
| `--password-env=<password_env>`   |             | Specify an environment variable name that contains the password. |
| `--password-file=<password_file>`   |             | Specify the path to a file that contains the password. |
| `--private-key=<key_path>`   |             | Specify the path to a file that contains the private key. |
| `--provider=<provider_id>`   |             | Specify the authentication provider to use for login. |
| `--username=<username>`   |             | Specify the username for login. |

# Parent command

| Command | Description |
|---------|-------------|
| [dcos auth](/docs/1.10/cli/command-reference/dcos-auth/) |  Manage DC/OS identity and access. |

# Examples<commit_msg>Update auth login options. (#1178)<commit_after>---
post_title: dcos auth login
menu_order: 2
---

# Description
Log in to DC/OS authentication. 

# Usage

```bash
dcos auth login [OPTION]
```

# Options

| Name, shorthand | Default | Description |
|---------|-------------|-------------|
|  `--ca-certs=<ca-certs>` |             | (Enterprise DC/OS Only) 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 DC/OS Only) 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 DC/OS Only) 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](/docs/1.10/cli/command-reference/dcos-auth/) |  Manage DC/OS identity and access. |

# Examples

{'fraction_non_alphanumeric': 0.16332378223495703, 'fraction_numerical': 0.0053724928366762174, 'mean_word_length': 2.401948842874543, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 16, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3310909', 'n_tokens_mistral': 841, 'n_tokens_neox': 792, 'n_words': 275}