Skip to content

Commit

Permalink
chore: update ADC details in README (#970)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackwotherspoon authored Sep 7, 2022
1 parent a175e78 commit ad873d4
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,12 @@ For examples of this library being used in the context of an application, check

### Authentication

This library uses [Application Default Credentials](
https://developers.google.com/identity/protocols/application-default-credentials) to authenticate
the connection to the Cloud SQL server. For more details, see the previously mentioned link.

To activate credentials locally, use the following [gcloud](https://cloud.google.com/sdk/gcloud/)
command:
```bash
gcloud auth application-default login
```
This library uses the [Application Default Credentials (ADC)][adc] strategy for
resolving credentials. Please see [these instructions for how to set your ADC][set-adc]
(Google Cloud Application vs Local Development, IAM user vs service account credentials).

[adc]: https://cloud.google.com/docs/authentication#adc
[set-adc]: https://cloud.google.com/docs/authentication/provide-credentials-adc
---

### Building the Drivers
Expand Down

0 comments on commit ad873d4

Please sign in to comment.