You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
@iainelder you can inspect the res.Body of the request, as the res.StatusCode alone clearly isn't enough (i would argue that not setting MFA is a bad idea but thats not the issue here)
// Invalid User or bad password
// MFA Required carry on requesting MFA from the User
MFA is not yet company policy, so we need the tool to work without MFA as well.
It's on the roadmap, but our first priority is to eliminate long-lived IAM access keys. saml2aws is extremely helpful to achieve this.
So our first step is to train people to use saml2aws for configuring the CLI. When we have that under control, enabling MFA is an important next step.
you can inspect the res.Body of the request
Great! What do we need to implement this? Is there another module whose pattern we can follow?
I have reproduced similar outputs using the DUMP_CONTENT=true environment variable. I don't have time to dedicate to a fix right now, but I would like to give it a go later if someone else doesn't jump in first.