I get following exception when secret manager is added.
Error calling AssumeRole for role arn:aws:iam::<account_id>:role/<role_name>
With inner exception as:
The MfaSerialNumber has been set but the MfaTokenCodeCallback hasn't. MfaTokenCodeCallback is required in order to determine the MfaTokenCode when MfaSerialNumber is set.
I tried following an example of getting an MFA. But unfortunately cannot use Console in Web API project.
Hello,
Version: 1.7.0 App: .Net 6 Web API
I am unable to use the extension when I have an MFA enabled.
I use the
CredentialProfileStoreChain
to get AWS credential the following wasy as shown in an example.I have a profile setup the following way. .aws\config file
I get following exception when secret manager is added.
Error calling AssumeRole for role arn:aws:iam::<account_id>:role/<role_name>
With inner exception as:
The MfaSerialNumber has been set but the MfaTokenCodeCallback hasn't. MfaTokenCodeCallback is required in order to determine the MfaTokenCode when MfaSerialNumber is set.
I tried following an example of getting an MFA. But unfortunately cannot use
Console
in Web API project.