-
Notifications
You must be signed in to change notification settings - Fork 90
Fix mfa argument + backport #1104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -108,6 +108,13 @@ $ curl \ | |||||||||
http://127.0.0.1:8200/v1/auth/userpass/login/alice | ||||||||||
``` | ||||||||||
|
||||||||||
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials. | ||||||||||
|
||||||||||
**Examples**: | ||||||||||
Comment on lines
+111
to
+113
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Edited to match original suggestion |
||||||||||
|
||||||||||
- 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. | ||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -108,6 +108,13 @@ $ curl \ | |||||||||
http://127.0.0.1:8200/v1/auth/userpass/login/alice | ||||||||||
``` | ||||||||||
|
||||||||||
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials. | ||||||||||
|
||||||||||
**Examples**: | ||||||||||
Comment on lines
+111
to
+113
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Edited to match original suggestion |
||||||||||
|
||||||||||
- 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. | ||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -108,6 +108,13 @@ $ curl \ | |||||||||
http://127.0.0.1:8200/v1/auth/userpass/login/alice | ||||||||||
``` | ||||||||||
|
||||||||||
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials. | ||||||||||
|
||||||||||
**Examples**: | ||||||||||
Comment on lines
+111
to
+113
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Edited to match original suggestion |
||||||||||
|
||||||||||
- 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. | ||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -112,6 +112,13 @@ $ curl \ | |||||||||
http://127.0.0.1:8200/v1/auth/userpass/login/alice | ||||||||||
``` | ||||||||||
|
||||||||||
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials. | ||||||||||
|
||||||||||
**Examples**: | ||||||||||
Comment on lines
+115
to
+117
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Edited to match original suggestion |
||||||||||
|
||||||||||
- 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. | ||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -112,6 +112,13 @@ $ curl \ | |||||||||
http://127.0.0.1:8200/v1/auth/userpass/login/alice | ||||||||||
``` | ||||||||||
|
||||||||||
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials. | ||||||||||
|
||||||||||
**Examples**: | ||||||||||
Comment on lines
+115
to
+117
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Edited to match original suggestion |
||||||||||
|
||||||||||
- 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. | ||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -112,6 +112,13 @@ $ curl \ | |||||||||
http://127.0.0.1:8200/v1/auth/userpass/login/alice | ||||||||||
``` | ||||||||||
|
||||||||||
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials. | ||||||||||
|
||||||||||
**Examples**: | ||||||||||
Comment on lines
+115
to
+117
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Edited to match original suggestion |
||||||||||
|
||||||||||
- 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. | ||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -113,6 +113,13 @@ $ curl \ | |||||||||
http://127.0.0.1:8200/v1/auth/userpass/login/alice | ||||||||||
``` | ||||||||||
|
||||||||||
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials. | ||||||||||
|
||||||||||
**Examples**: | ||||||||||
Comment on lines
+116
to
+118
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Edited to match original suggestion |
||||||||||
|
||||||||||
- 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. | ||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style correction: write simply