mirror of
https://github.com/gravitational/teleport.git
synced 2026-11-03 16:38:35 +08:00
* [docs] GCP MySQL IAM authentication support * review comments * remove legacy OTP flow * address review comments
15 lines
685 B
Plaintext
15 lines
685 B
Plaintext
The Teleport Database Service must have credentials for the
|
|
`teleport-db-service` GCP service account we created in step 3.
|
|
|
|
If the Teleport Database Service is hosted on a VM, you can [change the
|
|
attached service
|
|
account](https://cloud.google.com/compute/docs/instances/change-service-account).
|
|
|
|
Alternatively, set the `GOOGLE_APPLICATION_CREDENTIALS` environment variable to
|
|
point to the JSON credentials file you downloaded earlier. If you are using
|
|
`systemd` to start `teleport`, then you should edit the service's
|
|
`EnvironmentFile` to include the following env var:
|
|
```code
|
|
$ echo 'GOOGLE_APPLICATION_CREDENTIALS=/path/to/credentials.json' | sudo tee -a /etc/default/teleport
|
|
```
|