File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
content/vault/v1.18.x/content/partials/global-settings/both Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
** ` [-mfa | VAULT_MFA] (string : "") ` ** <EnterpriseAlert inline = " true" />
4
4
5
5
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
7
7
Vault. The CLI adds MFA credentials to the ` X-Vault-MFA ` header when calling the
8
8
underlying API endpoint.
9
9
10
10
** Examples** :
11
11
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 " `
14
14
15
15
<Note >
16
16
You can’t perform that action at this time.
0 commit comments