Skip to content

Replace all auth commands with ADC #555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 9, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion datastore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This directory contains sample code used in Google Cloud Datastore documentation

1. Ensure that you have:
* Created a Google Developers Console project with the Datastore API enabled. Follow [these instructions](https://cloud.google.com/docs/authentication#preparation) to get your project set up.
* Installed the Google Cloud SDK and run the following commands in command line: `gcloud auth login` and `gcloud config set project [YOUR PROJECT ID]`.
* Installed the Google Cloud SDK and run the following commands in command line: `gcloud auth application-default login` and `gcloud config set project [YOUR PROJECT ID]`.
* Installed [Maven](https://maven.apache.org/) and Java 7 (or above).

2. Compile the program by typing `mvn clean compile` in command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private void assertArgsLength(String[] args, int expectedLength) {
* Exercises the methods defined in this class.
*
* <p>Assumes that you are authenticated using the Google Cloud SDK (using
* {@code gcloud auth login}).
* {@code gcloud auth application-default login}).
*/
public static void main(String[] args) throws Exception {
TaskList taskList = new TaskList();
Expand Down
2 changes: 1 addition & 1 deletion flexible/async-rest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ First, complete the following steps:
- Obtain an app key for the Google Places WebService API.
- Download and install [the Beta build of the Google Cloud SDK](https://developers.google.com/cloud/sdk/#Quick_Start).
- Install the Cloud SDK `app-engine-java` component.
- Authenticate wth the gcloud SDK: gcloud auth login.
- Authenticate wth the gcloud SDK: gcloud auth application-default login.
- Install [Maven](http://maven.apache.org/download.cgi) if you haven't already.


Expand Down
2 changes: 1 addition & 1 deletion flexible/sparkjava/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Setup

2. Set up the local development environment by [installing the Google Cloud
SDK](https://cloud.google.com/sdk/) and running the following commands in
command line: `gcloud auth login` and `gcloud config set project [YOUR
command line: `gcloud auth application-default login` and `gcloud config set project [YOUR
PROJECT ID]`.

3. Ensure that you have Maven installed and configured to use Java 8. See
Expand Down
2 changes: 1 addition & 1 deletion storage/json-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Google Cloud Storage Service features a REST-based API that allows developers to
Note that if it's been a while, you may need to login with gcloud.

```
gcloud auth login
gcloud auth application-default login
```

## Products
Expand Down