fix: add sessionToken to getSignedUrl

This commit is contained in:
Alexander
2024-11-20 18:51:39 +09:00
committed by GitHub

View File

@@ -119,6 +119,7 @@ export class StorageService {
return await getSignedUrl({ return await getSignedUrl({
accessKeyId: this.credentials.awsAccessKeyId, accessKeyId: this.credentials.awsAccessKeyId,
secretAccessKey: this.credentials.awsSecretKey, secretAccessKey: this.credentials.awsSecretKey,
sessionToken: this.credentials.sessionToken,
bucket: this.config.bucket, bucket: this.config.bucket,
key, key,
region: this.config.region, region: this.config.region,