Open justhamade opened 4 years ago
I am not able to use the command line tool because my account assumes a role and uses MFA.
It is possible to allow MFA like so
const token = '123456' const profile = 'profile' const credentials = new AWS.SharedIniFileCredentials({ profile, tokenCodeFn: (mfaSerial, done) => done(null, token), }) AWS.config.credentials = credentials
MFA is working for me, by authenticating in the CLI and using --use-env-vars
--use-env-vars
I am not able to use the command line tool because my account assumes a role and uses MFA.
It is possible to allow MFA like so