From 0443ecdad3b4fad2c43703a16cdba0d328cd5f9e Mon Sep 17 00:00:00 2001 From: abearxiong Date: Thu, 8 Jan 2026 15:39:28 +0800 Subject: [PATCH] update --- .env.example | 2 +- src/test/common.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 9732412..4ccace4 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,5 @@ S3_ACCESS_KEY_ID=your_access_key_id -S3_SECRET_ACCESS_KEY=your_secret_access_key +S3_ACCESS_KEY_SECRET=your_secret_access_key S3_REGION=your_region S3_BUCKET_NAME=your_bucket_name S3_ENDPOINT=your_endpoint diff --git a/src/test/common.ts b/src/test/common.ts index 5f0f404..9a1d231 100644 --- a/src/test/common.ts +++ b/src/test/common.ts @@ -6,7 +6,7 @@ import { S3Client, ListObjectsV2Command, GetBucketMetadataConfigurationCommand, export const s3Client = new S3Client({ credentials: { accessKeyId: process.env.S3_ACCESS_KEY_ID || '', - secretAccessKey: process.env.S3_SECRET_ACCESS_KEY || '', + secretAccessKey: process.env.S3_ACCESS_KEY_SECRET || '', }, region: process.env.S3_REGION, endpoint: 'https://tos-s3-cn-shanghai.volces.com',