Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mfa command #244

Open
ericzbeard opened this issue Jan 19, 2024 · 0 comments
Open

Add mfa command #244

ericzbeard opened this issue Jan 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ericzbeard
Copy link
Contributor

This command will get a session token using an MFA device and update environment settings (or overwrite a profile in the credentials file).

rain mfa <device-name> <code> <profile-name>

If you set up a virtual MFA device called phone, and your current token is 000 000, and you want to overwrite the default profile in your credentials file:

rain mfa phone 000000 default

This will call the GetSessionToken API and write the credentials to ~.aws/credentials.

@ericzbeard ericzbeard added the enhancement New feature or request label Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant