hpcsc / aws-profile

simple tool to help switching among AWS profiles more easily
38 stars 6 forks source link

Update default mfa_serial when setting profile to assume #5

Closed dalzymendoza closed 4 years ago

dalzymendoza commented 4 years ago

Currently when doing a set on a profile to assume, the mfa_serial key is not copied to the default profile even when it is present.

This causes issues when the user does not have their mfa_serial manually set in the default profile, and potentially for other users who have different mfa_serial values between profiles to assume.