Skip to content

Conversation

@dafujii
Copy link

@dafujii dafujii commented Nov 30, 2025

Fixed #604

The --mfa-token CLI flag was being ignored when using credential_process with source_profile configurations, causing users to be prompted interactively for MFA tokens even when provided via the command line.

Updated CredentialProcessAssumer.AssumeTerminal() to check if configOpts.MFATokenCode is provided before falling back to MfaTokenProvider.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

--mfa-token not registering from CLI, only from prompt

1 participant