8000 correct `-mfa` argument format (#1013) · hashicorp/web-unified-docs@fc67f28 · GitHub
[go: up one dir, main page]

Skip to content

Commit fc67f28

Brows 8000 e files
authored
correct -mfa argument format (#1013)
Change the `-mfa` argument format to be in line with how the `X-Vault-MFA` header works.
2 parents e9b55f9 + 247929c commit fc67f28

File tree

1 file changed

+3
-3
lines changed
  • content/vault/v1.18.x/content/partials/global-settings/both

1 file changed

+3
-3
lines changed

content/vault/v1.18.x/content/partials/global-settings/both/mfa.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@
33
**`[-mfa | VAULT_MFA] (string : "")`** <EnterpriseAlert inline="true" />
44

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

1010
**Examples**:
1111

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

1515
<Note>
1616

0 commit comments

Comments
 (0)
0