Skip to content

Commit bdd25b4

Browse files
committed
docs: add preferred_mfa_factor_id to README
Document the new optional configuration key `preferred_mfa_factor_id`, which allows users to pin a specific MFA factor by its Okta factor id, enhancing the MFA selection process.
1 parent a58f15a commit bdd25b4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,7 @@ aws_rolename = my-role
340340
| `enable_keychain` | Enable use of the system keychain to store the user's password. |
341341
| `preferred_mfa_type` | Automatically select an MFA device. See [MFA factor types](#preferred-mfa-types). |
342342
| `preferred_mfa_provider` | (Optional) Automatically select an MFA provider: `GOOGLE`, `OKTA`, or `DUO`. |
343+
| `preferred_mfa_factor_id` | (Optional) Pin a specific MFA factor by its Okta factor id. Useful when multiple factors of the same type are enrolled. Overrides `preferred_mfa_type` and `preferred_mfa_provider`. |
343344
| `duo_universal_factor` | (Optional, case-sensitive) Duo Universal Prompt factor: `Duo Push` (default), `Passcode`, `Phone Call`. |
344345
| `resolve_aws_alias` | `y` or `n`. If `y`, resolve AWS account IDs to alias names (default `n`). Also settable via `-r` / `--resolve`. |
345346
| `include_path` | (Optional) Include full role path in the AWS credential profile name (default `n`). If `y`: `<acct>-/some/path/administrator`. If `n`: `<acct>-administrator`. |

0 commit comments

Comments
 (0)