You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`SCCACHE_REGION` s3 region, required if using AWS S3
155
157
*`SCCACHE_S3_USE_SSL` s3 endpoint requires TLS, set this to `true`
156
158
*`SCCACHE_S3_KEY_PREFIX` s3 key prefix (optional)
159
+
*`SCCACHE_AWS_ACCESS_KEY_ID` AWS access key (optional). If not specified, sccache will attempt to load credentials from other sources (see [S3 credentials](S3.md#credentials))
160
+
*`SCCACHE_AWS_SECRET_ACCESS_KEY` AWS secret key (optional). If not specified, sccache will attempt to load credentials from other sources (see [S3 credentials](S3.md#credentials))
157
161
158
162
The endpoint used then becomes `${SCCACHE_BUCKET}.s3-{SCCACHE_REGION}.amazonaws.com`.
159
163
If you are not using the default endpoint and `SCCACHE_REGION` is undefined, it
Copy file name to clipboardExpand all lines: docs/S3.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,9 @@ Cloudflare R2 is an S3-compatible object storage and works with the same configu
23
23
24
24
## Credentials
25
25
26
-
Sccache is able to load credentials from various sources. Including:
26
+
You can specify credentials using environment variables (`SCCACHE_AWS_ACCESS_KEY_ID` and `SCCACHE_AWS_SECRET_ACCESS_KEY`) or [file configuration](Configuration.md#file) (`access_key_id` and `secret_access_key`).
27
+
28
+
If credentials are not specified, sccache will attempt to load credentials from various other sources, including:
27
29
28
30
- Static: `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
29
31
- Profile: `~/.aws/credentials` and `~/.aws/config`. The AWS_PROFILE environment variable can be used to select a specific profile if multiple profiles are available.
0 commit comments