Merge pull request #15709 from Charge71/aws-s3-provider-adding-external-id
Added support for externalId when assuming role in AwsS3EntityProvider
This commit is contained in:
@@ -27,6 +27,7 @@ export class AwsCredentials {
|
||||
accessKeyId?: string;
|
||||
secretAccessKey?: string;
|
||||
roleArn?: string;
|
||||
externalId?: string;
|
||||
},
|
||||
roleSessionName: string,
|
||||
): Credentials | CredentialsOptions | undefined {
|
||||
@@ -52,6 +53,7 @@ export class AwsCredentials {
|
||||
params: {
|
||||
RoleArn: roleArn,
|
||||
RoleSessionName: roleSessionName,
|
||||
ExternalId: config.externalId,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user