Skip to content

Conversation

Soromeister
Copy link
Contributor

@Soromeister Soromeister commented Oct 14, 2025

This is a continuation of PR #1013

Fixed -mfa argument for CLI flags since it was incorrect.

  • Incorrect:
2025-10-14 12 17 15 developer hashicorp com 7ab8618e50d0 - Correct: 2025-10-14 12 17 45 developer hashicorp com 5ab16498018b

Also added this CLI flag description to the Single-Phase login docs so customers who are looking for Single-Phase MFA login can now find how to do it via API and CLI on one page (reduces confusion).

Backport for 1.19.x till 1.21.x
… till 1.21.x

This way, customers who are looking for Single-Phase login using MFA can find both API and CLI methods of doing it on one page.
@Soromeister Soromeister requested a review from a team as a code owner October 14, 2025 10:44
@github-actions github-actions bot added the Vault Content update for Vault product docs label Oct 14, 2025
Copy link
Contributor

github-actions bot commented Oct 14, 2025

Vercel Previews Deployed

Name Status Preview Updated (UTC)
Dev Portal ✅ Ready (Inspect) Visit Preview Tue Oct 14 11:02:49 UTC 2025
Unified Docs API ✅ Ready (Inspect) Visit Preview Tue Oct 14 10:56:44 UTC 2025

@Soromeister Soromeister enabled auto-merge October 14, 2025 10:56
Copy link
Contributor

github-actions bot commented Oct 14, 2025

Broken Link Checker

No broken links found! 🎉

Comment on lines +111 to +113
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.

**Examples**:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.
**Examples**:
Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

Style correction: write simply

Comment on lines +111 to +113
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.

**Examples**:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.
**Examples**:
Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

Edited to match original suggestion

Comment on lines +111 to +113
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.

**Examples**:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.
**Examples**:
Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

Edited to match original suggestion

Comment on lines +111 to +113
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.

**Examples**:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.
**Examples**:
Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

Edited to match original suggestion

Comment on lines +115 to +117
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.

**Examples**:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.
**Examples**:
Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

Edited to match original suggestion

Comment on lines +115 to +117
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.

**Examples**:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.
**Examples**:
Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

Edited to match original suggestion

Comment on lines +115 to +117
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.

**Examples**:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.
**Examples**:
Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

Edited to match original suggestion

Comment on lines +116 to +118
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.

**Examples**:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
For CLI, you need to make use of the `-mfa` flag or `VAULT_MFA` environment variable to pass in the MFA credentials.
**Examples**:
Use the `-mfa` CLI flag or `VAULT_MFA` environment variable to pass in MFA credentials. For example:

Edited to match original suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Vault Content update for Vault product docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants