Skip to content

Commit 07e852b

Browse files
committed
chore(docs): remove uneeded env vars
1 parent ddb231c commit 07e852b

File tree

1 file changed

+2
-23
lines changed
  • docs/content/2.storage-drivers

1 file changed

+2
-23
lines changed

docs/content/2.storage-drivers/s3.md

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,7 @@ services:
6262
6363
STORAGE_DRIVER: s3
6464
STORAGE_S3_BUCKET: gh-actions-cache
65-
STORAGE_S3_ACCESS_KEY: access_key
66-
STORAGE_S3_SECRET_KEY: secret_key
6765
68-
STORAGE_S3_ENDPOINT: s3.amazonaws.com
69-
STORAGE_S3_PORT: '443'
70-
STORAGE_S3_USE_SSL: 'true'
7166
volumes:
7267
- cache-data:/app/.data
7368
@@ -79,36 +74,20 @@ volumes:
7974

8075
Don't forget to set the `STORAGE_DRIVER` environment variable to `s3` to use the S3 storage driver.
8176

77+
The AWS SDK will automatically use any AWS credentials available in the environment, e.g. `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY` and `AWS_REGION`.
78+
8279
#### `STORAGE_S3_BUCKET`
8380

8481
Example: `gh-actions-cache`
8582

8683
The name of the S3 bucket used for storage.
8784

88-
#### `STORAGE_S3_ACCESS_KEY`
89-
90-
Example: `access_key`
91-
92-
The access key for S3 storage.
93-
94-
#### `STORAGE_S3_SECRET_KEY`
95-
96-
Example: `secret_key`
97-
98-
The secret key for S3 storage.
99-
10085
#### `STORAGE_S3_ENDPOINT`
10186

10287
Example: `s3.amazonaws.com`, `minio`
10388

10489
The endpoint hostname for S3 storage.
10590

106-
#### `STORAGE_S3_REGION`
107-
108-
Example: `us-west-1`
109-
110-
The region for AWS S3. Not needed with MinIO.
111-
11291
#### `STORAGE_S3_PORT`
11392

11493
Example: `443`, `9000`

0 commit comments

Comments
 (0)