google-api-go-client icon indicating copy to clipboard operation
google-api-go-client copied to clipboard

Enable MTLS and Identity-bound token when using Google Api client libraries

Open xmenxk opened this issue 2 years ago • 0 comments

Google client libraries use Application Default Credentials (ADC) to select credentials. When running in GCP the default option is getting a bearer token from metadata service, and use it over a TLS connection to Google Apis.

We can improve security by integrating with S2A, where a workload can obtain identity-bound token and use it to talk to Google Apis, over a MTLS connection.

S2A is Google's Secure Session Agent, which is part of the cloud infrastructure.

xmenxk avatar Mar 07 '23 18:03 xmenxk