From 247929c8843c6de64b53e393d749024e73b73cf9 Mon Sep 17 00:00:00 2001 From: Soromeister <45243695+Soromeister@users.noreply.github.com> Date: Mon, 29 Sep 2025 17:01:55 +0200 Subject: [PATCH] correct `-mfa` argument format --- .../v1.18.x/content/partials/global-settings/both/mfa.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/vault/v1.18.x/content/partials/global-settings/both/mfa.mdx b/content/vault/v1.18.x/content/partials/global-settings/both/mfa.mdx index bd0bf79b74..ca4d4c500c 100644 --- a/content/vault/v1.18.x/content/partials/global-settings/both/mfa.mdx +++ b/content/vault/v1.18.x/content/partials/global-settings/both/mfa.mdx @@ -3,14 +3,14 @@ **`[-mfa | VAULT_MFA] (string : "")`** A multi-factor authentication (MFA) credential, in the format -`mfa_method_name[:key[=value]]`, that the CLI should use to authenticate to +`mfa_method_id:passcode`, that the CLI should use to authenticate to Vault. The CLI adds MFA credentials to the `X-Vault-MFA` header when calling the underlying API endpoint. **Examples**: -- CLI flag: `-mfa "totp:password=12345"` -- Environment variable: `export VAULT_MFA="totp:password=12345"` +- CLI flag: `-mfa "d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"` +- Environment variable: `export VAULT_MFA="d16fd3c2-50de-0b9b-eed3-0301dadeca10:695452"`