Skip to content
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

docs: remove references to ADC environment variable #14914

Merged
Show file tree
Hide file tree
Changes from 3 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
19 changes: 1 addition & 18 deletions generator/internal/scaffold_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -779,24 +779,7 @@ To run the quickstart examples you will need a working Google Cloud Platform
Like most Google Cloud Platform (GCP) services, $title$ requires that
your application authenticates with the service before accessing any data. If
you are not familiar with GCP authentication please take this opportunity to
review the [Authentication Overview][authentication-quickstart]. This library
uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the
credentials file. For example:

| Shell | Command |
| :----------------- | ---------------------------------------------- |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the [Cloud
SDK](https://cloud.google.com/sdk/). For more information about *Application
Default Credentials*, see
https://cloud.google.com/docs/authentication/production
review the [Authentication Overview][authentication-quickstart].

## Using with Bazel

Expand Down
19 changes: 1 addition & 18 deletions google/cloud/accessapproval/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,7 @@ detail.
Like most Google Cloud Platform (GCP) services, Access Approval requires that
your application authenticates with the service before accessing any data. If
you are not familiar with GCP authentication please take this opportunity to
review the [Authentication Overview][authentication-quickstart]. This library
uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the
credentials file. For example:

| Shell | Command |
| :----------------- | ------------------------------------------------------------------------------------ |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
*Application Default Credentials*, see
https://cloud.google.com/docs/authentication/production
review the [Authentication Overview][authentication-quickstart].

## Using with Bazel

Expand Down
18 changes: 1 addition & 17 deletions google/cloud/accesscontextmanager/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,7 @@ Like most Google Cloud Platform (GCP) services, Access Context Manager API
requires that your application authenticates with the service before accessing
any data. If you are not familiar with GCP authentication please take this
opportunity to review the [Authentication Overview][authentication-quickstart].
This library uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to
find the credentials file. For example:

| Shell | Command |
| :----------------- | ------------------------------------------------------------------------------------ |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
*Application Default Credentials*, see
https://cloud.google.com/docs/authentication/production


## Using with Bazel

Expand Down
18 changes: 1 addition & 17 deletions google/cloud/advisorynotifications/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,7 @@ Like most Google Cloud Platform (GCP) services, Advisory Notifications API
requires that your application authenticates with the service before accessing
any data. If you are not familiar with GCP authentication please take this
opportunity to review the [Authentication Overview][authentication-quickstart].
This library uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to
find the credentials file. For example:

| Shell | Command |
| :----------------- | ------------------------------------------------------------------------------------ |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
*Application Default Credentials*, see
https://cloud.google.com/docs/authentication/production


## Using with Bazel

Expand Down
19 changes: 1 addition & 18 deletions google/cloud/aiplatform/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,7 @@ detail.
Like most Google Cloud Platform (GCP) services, Vertex AI API requires that your
application authenticates with the service before accessing any data. If you are
not familiar with GCP authentication please take this opportunity to review the
[Authentication Overview][authentication-quickstart]. This library uses the
`GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the credentials
file. For example:

| Shell | Command |
| :----------------- | ------------------------------------------------------------------------------------ |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
*Application Default Credentials*, see
https://cloud.google.com/docs/authentication/production
[Authentication Overview][authentication-quickstart].

## Using with Bazel

Expand Down
19 changes: 1 addition & 18 deletions google/cloud/alloydb/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,24 +35,7 @@ detail.
Like most Google Cloud Platform (GCP) services, AlloyDB API requires that your
application authenticates with the service before accessing any data. If you are
not familiar with GCP authentication please take this opportunity to review the
[Authentication Overview][authentication-quickstart]. This library uses the
`GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the credentials
file. For example:

| Shell | Command |
| :----------------- | ------------------------------------------------------------------------------------ |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
*Application Default Credentials*, see
https://cloud.google.com/docs/authentication/production
[Authentication Overview][authentication-quickstart].

## Using with Bazel

Expand Down
19 changes: 1 addition & 18 deletions google/cloud/apigateway/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,7 @@ detail.
Like most Google Cloud Platform (GCP) services, API Gateway API requires that
your application authenticates with the service before accessing any data. If
you are not familiar with GCP authentication please take this opportunity to
review the [Authentication Overview][authentication-quickstart]. This library
uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the
credentials file. For example:

| Shell | Command |
| :----------------- | ------------------------------------------------------------------------------------ |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
*Application Default Credentials*, see
https://cloud.google.com/docs/authentication/production
review the [Authentication Overview][authentication-quickstart].

## Using with Bazel

Expand Down
19 changes: 1 addition & 18 deletions google/cloud/apigeeconnect/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,7 @@ detail.
Like most Google Cloud Platform (GCP) services, Apigee Connect API requires that
your application authenticates with the service before accessing any data. If
you are not familiar with GCP authentication please take this opportunity to
review the [Authentication Overview][authentication-quickstart]. This library
uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the
credentials file. For example:

| Shell | Command |
| :----------------- | ------------------------------------------------------------------------------------ |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
*Application Default Credentials*, see
https://cloud.google.com/docs/authentication/production
review the [Authentication Overview][authentication-quickstart].

## Using with Bazel

Expand Down
19 changes: 1 addition & 18 deletions google/cloud/apikeys/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,7 @@ detail.
Like most Google Cloud Platform (GCP) services, API Keys API requires that your
application authenticates with the service before accessing any data. If you are
not familiar with GCP authentication please take this opportunity to review the
[Authentication Overview][authentication-quickstart]. This library uses the
`GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the credentials
file. For example:

| Shell | Command |
| :----------------- | ------------------------------------------------------------------------------------ |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
*Application Default Credentials*, see
https://cloud.google.com/docs/authentication/production
[Authentication Overview][authentication-quickstart].

## Using with Bazel

Expand Down
19 changes: 1 addition & 18 deletions google/cloud/appengine/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,7 @@ detail.
Like most Google Cloud Platform (GCP) services, App Engine Admin API requires
that your application authenticates with the service before accessing any data.
If you are not familiar with GCP authentication please take this opportunity to
review the [Authentication Overview][authentication-quickstart]. This library
uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the
credentials file. For example:

| Shell | Command |
| :----------------- | ------------------------------------------------------------------------------------ |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
*Application Default Credentials*, see
https://cloud.google.com/docs/authentication/production
review the [Authentication Overview][authentication-quickstart].

## Using with Bazel

Expand Down
19 changes: 1 addition & 18 deletions google/cloud/apphub/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,24 +32,7 @@ detail.
Like most Google Cloud Platform (GCP) services, App Hub API requires that your
application authenticates with the service before accessing any data. If you are
not familiar with GCP authentication please take this opportunity to review the
[Authentication Overview][authentication-quickstart]. This library uses the
`GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the credentials
file. For example:

| Shell | Command |
| :----------------- | ------------------------------------------------------------------------------------ |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
*Application Default Credentials*, see
https://cloud.google.com/docs/authentication/production
[Authentication Overview][authentication-quickstart].

## Using with Bazel

Expand Down
19 changes: 1 addition & 18 deletions google/cloud/artifactregistry/quickstart/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,24 +29,7 @@ detail.
Like most Google Cloud Platform (GCP) services, Artifact Registry API requires
that your application authenticates with the service before accessing any data.
If you are not familiar with GCP authentication please take this opportunity to
review the [Authentication Overview][authentication-quickstart]. This library
uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the
credentials file. For example:

| Shell | Command |
| :----------------- | ------------------------------------------------------------------------------------ |
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |

Setting this environment variable is the recommended way to configure the
authentication preferences, though if the environment variable is not set, the
library searches for a credentials file in the same location as the
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
*Application Default Credentials*, see
https://cloud.google.com/docs/authentication/production
review the [Authentication Overview][authentication-quickstart].

## Using with Bazel

Expand Down
Loading
Loading