99designs / aws-vault

A vault for securely storing and accessing AWS credentials in development environments
MIT License
8.52k stars 820 forks source link

Prompt for MFA token when creating new profile #1235

Open Aror opened 11 months ago

Aror commented 11 months ago

Adding MFA Device ARN Prompt to 'add' Command

Description

This pull request introduces an additional step to the add command prompts. It includes a new prompt asking for the MFA Device ARN, streamlining the process for profiles with MFA enabled without manual addition to the AWS config file.

Proposed Changes

Added a new prompt during the add command execution:

Enter MFA Device ARN (If MFA is not enabled, leave this blank):

Reasoning

The inclusion of this prompt simplifies the configuration process for users that have MFA, eliminating the manual step of adding the MFA Device ARN to the AWS config file.