Skip to content

Ask for an MFA code at startup when AWS_MFA_SERIAL is set without a role - #15

Merged
ashishjullia merged 1 commit into
mainfrom
mfa-without-role
Oct 1, 2026
Merged

ashishjullia merged 1 commit into
mainfrom
mfa-without-role

Conversation

@ashishjullia

Copy link
Copy Markdown
Owner
  • `script.sh`: in the branch with IAM keys and no `AWS_ROLE_TO_ASSUME`, prompt for an MFA code when `AWS_MFA_SERIAL` is set and source `mfa.sh` with it. Same prompt and failure behaviour as the role branch.
  • The role branch, `dev` with no project, and projects without `AWS_MFA_SERIAL` are unchanged.
  • Readme: documents the new startup prompt.

Not tested end to end (needs a real MFA device); `bash -n script.sh` passes.

🤖 Generated with Claude Code

…ole.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@ashishjullia
ashishjullia merged commit 9477656 into main Oct 1, 2026
2 checks passed
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.

1 participant