tlelson / tlx

AWS utilities and often repeated code.
Apache License 2.0
0 stars 0 forks source link

get-default-creds failing to find default profile #18

Open tlelson opened 4 years ago

tlelson commented 4 years ago

After generating an aws credentials file from an AD provider get-aws-creds returns an error that 'default profile could not be found'.

It seems that this is because the the get_mfa_serial_if_user raises an exception when it should just return false (having not found an mfa_serial)

Possibly related to #13 .

tlelson commented 4 years ago

trial this commit before closing