aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com
diff options
context:
space:
mode:
authorGravatar Jakob Buchgraber <buchgr@google.com>2017-12-22 06:12:23 -0800
committerGravatar Copybara-Service <copybara-piper@google.com>2017-12-22 06:14:33 -0800
commit9fa5077112316b649d5fc3ed38d79c69bf68bfb5 (patch)
treed2450f7dd46626bb7dd7f8871929fd749461fa88 /src/main/java/com
parentd8a9344699da2f6258eafa22566c7e541ec09792 (diff)
remote: update default auth scope
The "cloud-platform" is a universal auth scope and also works for Google Cloud Storage (GCS). Thus the devstorage.read_write scope can be removed. Change-Id: I1ac3dbea82476acdb39956564964db737df8ed00 PiperOrigin-RevId: 179920302
Diffstat (limited to 'src/main/java/com')
-rw-r--r--src/main/java/com/google/devtools/build/lib/authandtls/AuthAndTLSOptions.java14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/authandtls/AuthAndTLSOptions.java b/src/main/java/com/google/devtools/build/lib/authandtls/AuthAndTLSOptions.java
index 4965570857..d6131ee995 100644
--- a/src/main/java/com/google/devtools/build/lib/authandtls/AuthAndTLSOptions.java
+++ b/src/main/java/com/google/devtools/build/lib/authandtls/AuthAndTLSOptions.java
@@ -39,22 +39,10 @@ public class AuthAndTLSOptions extends OptionsBase {
)
public boolean useGoogleDefaultCredentials;
- /**
- * Comma-separated list of auth scopes.
- *
- * <ul>
- * <li><b>https://www.googleapis.com/auth/cloud-source-tools</b> is the auth scope for Build
- * Event Service (BES) and Remote Build Execution (RBE).
- * <li><b>https://www.googleapis.com/auth/devstorage.read_write</b> is the auth scope for Google
- * Cloud Storage (GCS).
- * </ul>
- */
@Option(
name = "google_auth_scopes",
oldName = "auth_scope",
- defaultValue =
- "https://www.googleapis.com/auth/cloud-source-tools,"
- + "https://www.googleapis.com/auth/devstorage.read_write",
+ defaultValue = "https://www.googleapis.com/auth/cloud-platform",
converter = CommaSeparatedOptionListConverter.class,
category = "remote",
documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,