Skip to content
Merged
5 changes: 5 additions & 0 deletions content/vault/v1.14.x/content/docs/auth/login-mfa/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ $ curl \
http://127.0.0.1:8200/v1/auth/userpass/login/alice
```

Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`
- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`

### Two-Phase login

The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Expand Down
5 changes: 5 additions & 0 deletions content/vault/v1.15.x/content/docs/auth/login-mfa/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ $ curl \
http://127.0.0.1:8200/v1/auth/userpass/login/alice
```

Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`
- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`

### Two-Phase login

The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Expand Down
5 changes: 5 additions & 0 deletions content/vault/v1.16.x/content/docs/auth/login-mfa/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ $ curl \
http://127.0.0.1:8200/v1/auth/userpass/login/alice
```

Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`
- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`

### Two-Phase login

The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Expand Down
5 changes: 5 additions & 0 deletions content/vault/v1.17.x/content/docs/auth/login-mfa/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,11 @@ $ curl \
http://127.0.0.1:8200/v1/auth/userpass/login/alice
```

Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`
- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`

### Two-Phase login

The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Expand Down
5 changes: 5 additions & 0 deletions content/vault/v1.18.x/content/docs/auth/login-mfa/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ $ curl \
http://127.0.0.1:8200/v1/auth/userpass/login/alice
```

Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`
- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`

### Two-Phase login

The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Expand Down
5 changes: 5 additions & 0 deletions content/vault/v1.19.x/content/docs/auth/login-mfa/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ $ curl \
http://127.0.0.1:8200/v1/auth/userpass/login/alice
```

Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`
- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`

### Two-Phase login

The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
**`[-mfa | VAULT_MFA] (string : "")`** <EnterpriseAlert inline="true" />

A multi-factor authentication (MFA) credential, in the format
`mfa_method_name[:key[=value]]`, that the CLI should use to authenticate to
`mfa_method_id:passcode`, that the CLI should use to authenticate to
Vault. The CLI adds MFA credentials to the `X-Vault-MFA` header when calling the
underlying API endpoint.

**Examples**:

- CLI flag: `-mfa "totp:password=12345"`
- Environment variable: `export VAULT_MFA="totp:password=12345"`
- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`
- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`

<Note>

Expand Down
5 changes: 5 additions & 0 deletions content/vault/v1.20.x/content/docs/auth/login-mfa/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ $ curl \
http://127.0.0.1:8200/v1/auth/userpass/login/alice
```

Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`
- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`

### Two-Phase login

The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
**`[-mfa | VAULT_MFA] (string : "")`** <EnterpriseAlert inline="true" />

A multi-factor authentication (MFA) credential, in the format
`mfa_method_name[:key[=value]]`, that the CLI should use to authenticate to
`mfa_method_id:passcode`, that the CLI should use to authenticate to
Vault. The CLI adds MFA credentials to the `X-Vault-MFA` header when calling the
underlying API endpoint.

**Examples**:

- CLI flag: `-mfa "totp:password=12345"`
- Environment variable: `export VAULT_MFA="totp:password=12345"`
- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`
- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`

<Note>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ $ curl \
http://127.0.0.1:8200/v1/auth/userpass/login/alice
```

Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`
- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`

### Two-Phase login

The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
**`[-mfa | VAULT_MFA] (string : "")`** <EnterpriseAlert inline="true" />

A multi-factor authentication (MFA) credential, in the format
`mfa_method_name[:key[=value]]`, that the CLI should use to authenticate to
`mfa_method_id:passcode`, that the CLI should use to authenticate to
Vault. The CLI adds MFA credentials to the `X-Vault-MFA` header when calling the
underlying API endpoint.

**Examples**:

- CLI flag: `-mfa "totp:password=12345"`
- Environment variable: `export VAULT_MFA="totp:password=12345"`
- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`
- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`

<Note>

Expand Down
Loading