Open jimweller opened 5 months ago
I should probably mention that the lxk-iam profile, the source_profile, is not SSO. It's ACCESS_KEY/SECRET.
It does work with the --chain
switch.
assume --mfa-token $OTP --chain lxk-sandbox lxk-iam
Version: 0.20.7
The
--mfa-token
switch does not seem to work when using asource_profile
. But it does work by inputting it on the prompt.Below I use the TOTP seed to generate an OTP. I call
assume
with the--mfa-token
switch, butassume
still prompts for an OTP. The--mfa-token
does not seem to register the OTP parameter. But the OTP works by putting it in the prompt.My profiles look like