File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/core/src/auth/providers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -403,12 +403,12 @@ export class SharedCredentialsProvider implements CredentialsProvider {
403403 }
404404
405405 const stsClient = new DefaultStsClient ( this . getDefaultRegion ( ) ?? 'us-east-1' )
406- const assumeRoleReq : STS . AssumeRoleRequest = profile . aws_mfa_serial
406+ const assumeRoleReq : STS . AssumeRoleRequest = profile . mfa_serial
407407 ? {
408408 RoleArn : profile . role_arn ,
409409 RoleSessionName : 'AssumeRoleSession' ,
410- SerialNumber : profile . aws_mfa_serial ,
411- TokenCode : await getMfaTokenFromUser ( profile . aws_mfa_serial , this . profileName ) ,
410+ SerialNumber : profile . mfa_serial ,
411+ TokenCode : await getMfaTokenFromUser ( profile . mfa_serial , this . profileName ) ,
412412 }
413413 : {
414414 RoleArn : profile . role_arn ,
You can’t perform that action at this time.
0 commit comments