File tree Expand file tree Collapse file tree 11 files changed +49
-9
lines changed
v1.14.x/content/docs/auth/login-mfa
v1.15.x/content/docs/auth/login-mfa
v1.16.x/content/docs/auth/login-mfa
v1.17.x/content/docs/auth/login-mfa
v1.18.x/content/docs/auth/login-mfa
partials/global-settings/both
partials/global-settings/both
partials/global-settings/both Expand file tree Collapse file tree 11 files changed +49
-9
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,11 @@ $ curl \
108108 http://127.0.0.1:8200/v1/auth/userpass/login/alice
109109```
110110
111+ Use the ` -mfa ` CLI flag or ` VAULT_MFA ` environment variable to pass in MFA credentials. For example:
112+
113+ - CLI flag: ` -mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
114+ - Environment variable: ` export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
115+
111116### Two-Phase login
112117
113118The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Original file line number Diff line number Diff line change @@ -108,6 +108,11 @@ $ curl \
108108 http://127.0.0.1:8200/v1/auth/userpass/login/alice
109109```
110110
111+ Use the ` -mfa ` CLI flag or ` VAULT_MFA ` environment variable to pass in MFA credentials. For example:
112+
113+ - CLI flag: ` -mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
114+ - Environment variable: ` export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
115+
111116### Two-Phase login
112117
113118The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Original file line number Diff line number Diff line change @@ -108,6 +108,11 @@ $ curl \
108108 http://127.0.0.1:8200/v1/auth/userpass/login/alice
109109```
110110
111+ Use the ` -mfa ` CLI flag or ` VAULT_MFA ` environment variable to pass in MFA credentials. For example:
112+
113+ - CLI flag: ` -mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
114+ - Environment variable: ` export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
115+
111116### Two-Phase login
112117
113118The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Original file line number Diff line number Diff line change @@ -108,6 +108,11 @@ $ curl \
108108 http://127.0.0.1:8200/v1/auth/userpass/login/alice
109109```
110110
111+ Use the ` -mfa ` CLI flag or ` VAULT_MFA ` environment variable to pass in MFA credentials. For example:
112+
113+ - CLI flag: ` -mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
114+ - Environment variable: ` export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
115+
111116### Two-Phase login
112117
113118The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Original file line number Diff line number Diff line change @@ -112,6 +112,11 @@ $ curl \
112112 http://127.0.0.1:8200/v1/auth/userpass/login/alice
113113```
114114
115+ Use the ` -mfa ` CLI flag or ` VAULT_MFA ` environment variable to pass in MFA credentials. For example:
116+
117+ - CLI flag: ` -mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
118+ - Environment variable: ` export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
119+
115120### Two-Phase login
116121
117122The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Original file line number Diff line number Diff line change @@ -112,6 +112,11 @@ $ curl \
112112 http://127.0.0.1:8200/v1/auth/userpass/login/alice
113113```
114114
115+ Use the ` -mfa ` CLI flag or ` VAULT_MFA ` environment variable to pass in MFA credentials. For example:
116+
117+ - CLI flag: ` -mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
118+ - Environment variable: ` export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
119+
115120### Two-Phase login
116121
117122The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Original file line number Diff line number Diff line change 33** ` [-mfa | VAULT_MFA] (string : "") ` ** <EnterpriseAlert inline = " true" />
44
55A 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
77Vault. The CLI adds MFA credentials to the ` X-Vault-MFA ` header when calling the
88underlying 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
Original file line number Diff line number Diff line change @@ -112,6 +112,11 @@ $ curl \
112112 http://127.0.0.1:8200/v1/auth/userpass/login/alice
113113```
114114
115+ Use the ` -mfa ` CLI flag or ` VAULT_MFA ` environment variable to pass in MFA credentials. For example:
116+
117+ - CLI flag: ` -mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
118+ - Environment variable: ` export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
119+
115120### Two-Phase login
116121
117122The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
Original file line number Diff line number Diff line change 33** ` [-mfa | VAULT_MFA] (string : "") ` ** <EnterpriseAlert inline = " true" />
44
55A 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
77Vault. The CLI adds MFA credentials to the ` X-Vault-MFA ` header when calling the
88underlying 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
Original file line number Diff line number Diff line change @@ -113,6 +113,11 @@ $ curl \
113113 http://127.0.0.1:8200/v1/auth/userpass/login/alice
114114```
115115
116+ Use the ` -mfa ` CLI flag or ` VAULT_MFA ` environment variable to pass in MFA credentials. For example:
117+
118+ - CLI flag: ` -mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
119+ - Environment variable: ` export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452" `
120+
116121### Two-Phase login
117122
118123The more conventional and prevalent MFA method is a two-request mechanism, also referred to as Two-phase Login MFA.
You can’t perform that action at this time.
0 commit comments