Skip to content

Commit 2a5216d

Browse files
authored
docs: remove references to ADC environment variable (#14914)
1 parent 56f3aec commit 2a5216d

File tree

143 files changed

+327
-2699
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

143 files changed

+327
-2699
lines changed

generator/internal/scaffold_generator.cc

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -779,24 +779,7 @@ To run the quickstart examples you will need a working Google Cloud Platform
779779
Like most Google Cloud Platform (GCP) services, $title$ requires that
780780
your application authenticates with the service before accessing any data. If
781781
you are not familiar with GCP authentication please take this opportunity to
782-
review the [Authentication Overview][authentication-quickstart]. This library
783-
uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the
784-
credentials file. For example:
785-
786-
| Shell | Command |
787-
| :----------------- | ---------------------------------------------- |
788-
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
789-
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
790-
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
791-
| Windows Powershell | `$$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
792-
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
793-
794-
Setting this environment variable is the recommended way to configure the
795-
authentication preferences, though if the environment variable is not set, the
796-
library searches for a credentials file in the same location as the [Cloud
797-
SDK](https://cloud.google.com/sdk/). For more information about *Application
798-
Default Credentials*, see
799-
https://cloud.google.com/docs/authentication/production
782+
review the [Authentication methods at Google][authentication-quickstart].
800783
801784
## Using with Bazel
802785
@@ -897,7 +880,7 @@ set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=%cd%\roots.pem
897880
[choco-cmake-link]: https://chocolatey.org/packages/cmake
898881
[homebrew-cmake-link]: https://formulae.brew.sh/formula/cmake
899882
[cmake-download-link]: https://cmake.org/download/
900-
[authentication-quickstart]: https://cloud.google.com/docs/authentication/getting-started 'Authentication Getting Started'
883+
[authentication-quickstart]: https://cloud.google.com/docs/authentication 'Authentication methods at Google'
901884
)""";
902885
google::protobuf::io::OstreamOutputStream output(&os);
903886
google::protobuf::io::Printer printer(&output, '$');

google/cloud/accessapproval/quickstart/README.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,7 @@ detail.
2929
Like most Google Cloud Platform (GCP) services, Access Approval requires that
3030
your application authenticates with the service before accessing any data. If
3131
you are not familiar with GCP authentication please take this opportunity to
32-
review the [Authentication Overview][authentication-quickstart]. This library
33-
uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the
34-
credentials file. For example:
35-
36-
| Shell | Command |
37-
| :----------------- | ------------------------------------------------------------------------------------ |
38-
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
39-
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
40-
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
41-
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
42-
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
43-
44-
Setting this environment variable is the recommended way to configure the
45-
authentication preferences, though if the environment variable is not set, the
46-
library searches for a credentials file in the same location as the
47-
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
48-
*Application Default Credentials*, see
49-
https://cloud.google.com/docs/authentication/production
32+
review the [Authentication methods at Google][authentication-quickstart].
5033

5134
## Using with Bazel
5235

@@ -142,7 +125,7 @@ trust store for SSL certificates, you can download and configure this using:
142125
set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=%cd%\roots.pem
143126
```
144127

145-
[authentication-quickstart]: https://cloud.google.com/docs/authentication/getting-started "Authentication Getting Started"
128+
[authentication-quickstart]: https://cloud.google.com/docs/authentication "Authentication methods at Google"
146129
[bazel-install]: https://docs.bazel.build/versions/main/install.html
147130
[choco-cmake-link]: https://chocolatey.org/packages/cmake
148131
[grpc-roots-pem-bug]: https://github.com/grpc/grpc/issues/16571

google/cloud/accesscontextmanager/quickstart/README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,8 @@ detail.
2929
Like most Google Cloud Platform (GCP) services, Access Context Manager API
3030
requires that your application authenticates with the service before accessing
3131
any data. If you are not familiar with GCP authentication please take this
32-
opportunity to review the [Authentication Overview][authentication-quickstart].
33-
This library uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to
34-
find the credentials file. For example:
35-
36-
| Shell | Command |
37-
| :----------------- | ------------------------------------------------------------------------------------ |
38-
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
39-
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
40-
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
41-
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
42-
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
43-
44-
Setting this environment variable is the recommended way to configure the
45-
authentication preferences, though if the environment variable is not set, the
46-
library searches for a credentials file in the same location as the
47-
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
48-
*Application Default Credentials*, see
49-
https://cloud.google.com/docs/authentication/production
32+
opportunity to review the
33+
[Authentication methods at Google][authentication-quickstart].
5034

5135
## Using with Bazel
5236

@@ -142,7 +126,7 @@ trust store for SSL certificates, you can download and configure this using:
142126
set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=%cd%\roots.pem
143127
```
144128

145-
[authentication-quickstart]: https://cloud.google.com/docs/authentication/getting-started "Authentication Getting Started"
129+
[authentication-quickstart]: https://cloud.google.com/docs/authentication "Authentication methods at Google"
146130
[bazel-install]: https://docs.bazel.build/versions/main/install.html
147131
[choco-cmake-link]: https://chocolatey.org/packages/cmake
148132
[grpc-roots-pem-bug]: https://github.com/grpc/grpc/issues/16571

google/cloud/advisorynotifications/quickstart/README.md

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,8 @@ detail.
3535
Like most Google Cloud Platform (GCP) services, Advisory Notifications API
3636
requires that your application authenticates with the service before accessing
3737
any data. If you are not familiar with GCP authentication please take this
38-
opportunity to review the [Authentication Overview][authentication-quickstart].
39-
This library uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to
40-
find the credentials file. For example:
41-
42-
| Shell | Command |
43-
| :----------------- | ------------------------------------------------------------------------------------ |
44-
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
45-
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
46-
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
47-
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
48-
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
49-
50-
Setting this environment variable is the recommended way to configure the
51-
authentication preferences, though if the environment variable is not set, the
52-
library searches for a credentials file in the same location as the
53-
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
54-
*Application Default Credentials*, see
55-
https://cloud.google.com/docs/authentication/production
38+
opportunity to review the
39+
[Authentication methods at Google][authentication-quickstart].
5640

5741
## Using with Bazel
5842

@@ -148,7 +132,7 @@ trust store for SSL certificates, you can download and configure this using:
148132
set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=%cd%\roots.pem
149133
```
150134

151-
[authentication-quickstart]: https://cloud.google.com/docs/authentication/getting-started "Authentication Getting Started"
135+
[authentication-quickstart]: https://cloud.google.com/docs/authentication "Authentication methods at Google"
152136
[bazel-install]: https://docs.bazel.build/versions/main/install.html
153137
[choco-cmake-link]: https://chocolatey.org/packages/cmake
154138
[grpc-roots-pem-bug]: https://github.com/grpc/grpc/issues/16571

google/cloud/aiplatform/quickstart/README.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -32,24 +32,7 @@ detail.
3232
Like most Google Cloud Platform (GCP) services, Vertex AI API requires that your
3333
application authenticates with the service before accessing any data. If you are
3434
not familiar with GCP authentication please take this opportunity to review the
35-
[Authentication Overview][authentication-quickstart]. This library uses the
36-
`GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the credentials
37-
file. For example:
38-
39-
| Shell | Command |
40-
| :----------------- | ------------------------------------------------------------------------------------ |
41-
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
42-
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
43-
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
44-
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
45-
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
46-
47-
Setting this environment variable is the recommended way to configure the
48-
authentication preferences, though if the environment variable is not set, the
49-
library searches for a credentials file in the same location as the
50-
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
51-
*Application Default Credentials*, see
52-
https://cloud.google.com/docs/authentication/production
35+
[Authentication methods at Google][authentication-quickstart].
5336

5437
## Using with Bazel
5538

@@ -145,7 +128,7 @@ trust store for SSL certificates, you can download and configure this using:
145128
set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=%cd%\roots.pem
146129
```
147130

148-
[authentication-quickstart]: https://cloud.google.com/docs/authentication/getting-started "Authentication Getting Started"
131+
[authentication-quickstart]: https://cloud.google.com/docs/authentication "Authentication methods at Google"
149132
[bazel-install]: https://docs.bazel.build/versions/main/install.html
150133
[choco-cmake-link]: https://chocolatey.org/packages/cmake
151134
[grpc-roots-pem-bug]: https://github.com/grpc/grpc/issues/16571

google/cloud/alloydb/quickstart/README.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -35,24 +35,7 @@ detail.
3535
Like most Google Cloud Platform (GCP) services, AlloyDB API requires that your
3636
application authenticates with the service before accessing any data. If you are
3737
not familiar with GCP authentication please take this opportunity to review the
38-
[Authentication Overview][authentication-quickstart]. This library uses the
39-
`GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the credentials
40-
file. For example:
41-
42-
| Shell | Command |
43-
| :----------------- | ------------------------------------------------------------------------------------ |
44-
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
45-
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
46-
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
47-
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
48-
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
49-
50-
Setting this environment variable is the recommended way to configure the
51-
authentication preferences, though if the environment variable is not set, the
52-
library searches for a credentials file in the same location as the
53-
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
54-
*Application Default Credentials*, see
55-
https://cloud.google.com/docs/authentication/production
38+
[Authentication methods at Google][authentication-quickstart].
5639

5740
## Using with Bazel
5841

@@ -148,7 +131,7 @@ trust store for SSL certificates, you can download and configure this using:
148131
set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=%cd%\roots.pem
149132
```
150133

151-
[authentication-quickstart]: https://cloud.google.com/docs/authentication/getting-started "Authentication Getting Started"
134+
[authentication-quickstart]: https://cloud.google.com/docs/authentication "Authentication methods at Google"
152135
[bazel-install]: https://docs.bazel.build/versions/main/install.html
153136
[choco-cmake-link]: https://chocolatey.org/packages/cmake
154137
[grpc-roots-pem-bug]: https://github.com/grpc/grpc/issues/16571

google/cloud/apigateway/quickstart/README.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,7 @@ detail.
2929
Like most Google Cloud Platform (GCP) services, API Gateway API requires that
3030
your application authenticates with the service before accessing any data. If
3131
you are not familiar with GCP authentication please take this opportunity to
32-
review the [Authentication Overview][authentication-quickstart]. This library
33-
uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the
34-
credentials file. For example:
35-
36-
| Shell | Command |
37-
| :----------------- | ------------------------------------------------------------------------------------ |
38-
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
39-
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
40-
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
41-
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
42-
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
43-
44-
Setting this environment variable is the recommended way to configure the
45-
authentication preferences, though if the environment variable is not set, the
46-
library searches for a credentials file in the same location as the
47-
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
48-
*Application Default Credentials*, see
49-
https://cloud.google.com/docs/authentication/production
32+
review the [Authentication methods at Google][authentication-quickstart].
5033

5134
## Using with Bazel
5235

@@ -142,7 +125,7 @@ trust store for SSL certificates, you can download and configure this using:
142125
set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=%cd%\roots.pem
143126
```
144127

145-
[authentication-quickstart]: https://cloud.google.com/docs/authentication/getting-started "Authentication Getting Started"
128+
[authentication-quickstart]: https://cloud.google.com/docs/authentication "Authentication methods at Google"
146129
[bazel-install]: https://docs.bazel.build/versions/main/install.html
147130
[choco-cmake-link]: https://chocolatey.org/packages/cmake
148131
[grpc-roots-pem-bug]: https://github.com/grpc/grpc/issues/16571

google/cloud/apigeeconnect/quickstart/README.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -29,24 +29,7 @@ detail.
2929
Like most Google Cloud Platform (GCP) services, Apigee Connect API requires that
3030
your application authenticates with the service before accessing any data. If
3131
you are not familiar with GCP authentication please take this opportunity to
32-
review the [Authentication Overview][authentication-quickstart]. This library
33-
uses the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to find the
34-
credentials file. For example:
35-
36-
| Shell | Command |
37-
| :----------------- | ------------------------------------------------------------------------------------ |
38-
| Bash/zsh/ksh/etc. | `export GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
39-
| sh | `GOOGLE_APPLICATION_CREDENTIALS=[PATH];`<br> `export GOOGLE_APPLICATION_CREDENTIALS` |
40-
| csh/tsch | `setenv GOOGLE_APPLICATION_CREDENTIALS [PATH]` |
41-
| Windows Powershell | `$env:GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
42-
| Windows cmd.exe | `set GOOGLE_APPLICATION_CREDENTIALS=[PATH]` |
43-
44-
Setting this environment variable is the recommended way to configure the
45-
authentication preferences, though if the environment variable is not set, the
46-
library searches for a credentials file in the same location as the
47-
[Cloud SDK](https://cloud.google.com/sdk/). For more information about
48-
*Application Default Credentials*, see
49-
https://cloud.google.com/docs/authentication/production
32+
review the [Authentication methods at Google][authentication-quickstart].
5033

5134
## Using with Bazel
5235

@@ -142,7 +125,7 @@ trust store for SSL certificates, you can download and configure this using:
142125
set GRPC_DEFAULT_SSL_ROOTS_FILE_PATH=%cd%\roots.pem
143126
```
144127

145-
[authentication-quickstart]: https://cloud.google.com/docs/authentication/getting-started "Authentication Getting Started"
128+
[authentication-quickstart]: https://cloud.google.com/docs/authentication "Authentication methods at Google"
146129
[bazel-install]: https://docs.bazel.build/versions/main/install.html
147130
[choco-cmake-link]: https://chocolatey.org/packages/cmake
148131
[grpc-roots-pem-bug]: https://github.com/grpc/grpc/issues/16571

0 commit comments

Comments
 (0)