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
Copy file name to clipboardExpand all lines: docs/OSS.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,3 +13,8 @@ The `SCCACHE_OSS_RW_MODE` environment variable can be set to `READ_ONLY` to make
13
13
Sccache is able to load credentials from environment variables: `ALIBABA_CLOUD_ACCESS_KEY_ID` and `ALIBABA_CLOUD_ACCESS_KEY_SECRET`.
14
14
15
15
Alternatively, the `SCCACHE_OSS_NO_CREDENTIALS` environment variable can be set to use public readonly access to the OSS bucket, without the need for credentials. Valid values for this environment variable are `true`, `1`, `false`, and `0`. This can be useful for implementing a readonly cache for pull requests, which typically cannot be given access to credentials for security reasons.
16
+
17
+
Set `SCCACHE_OSS_RW_MODE=READ_ONLY` with credentialless mode. It requires public
18
+
object-read access but does not require public bucket-list access. Because the
19
+
bucket cannot be probed independently in that mode, sccache uses the OSS
20
+
object-read response to classify a missing cache key.
Copy file name to clipboardExpand all lines: docs/S3.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,3 +35,8 @@ Sccache is able to load credentials from various sources. Including:
35
35
- AssumeRoleWithWebIdentity: assume role with web webIdentity specified by `AWS_ROLE_ARN` and `AWS_WEB_IDENTITY_TOKEN_FILE`.
36
36
37
37
Alternatively, the `SCCACHE_S3_NO_CREDENTIALS` environment variable can be set to use public readonly access to the S3 bucket, without the need for credentials. Valid values for this environment variable are `true`, `1`, `false`, and `0`. This can be useful for implementing a readonly cache for pull requests, which typically cannot be given access to credentials for security reasons.
38
+
39
+
Set `SCCACHE_S3_RW_MODE=READ_ONLY` with credentialless mode. It requires public
40
+
object-read access but does not require public bucket-list access. Because the
41
+
bucket cannot be probed independently in that mode, sccache uses the S3
42
+
object-read response to classify a missing cache key.
0 commit comments