AuthScheme
The type of authentication to use when connecting to Google Spanner.
Possible Values
OAuth, OAuthJWT, GCPInstanceAccount, AWSWorkloadIdentityData Type
string
Default Value
"OAuth"
Remarks
- OAuth: Set this to perform OAuth authentication using a standard user account.
- OAuthJWT: Set this to perform OAuth authentication using an OAuth service account.
- GCPInstanceAccount: Set this to get Access Token from Google Cloud Platform instance.
- AWSWorkloadIdentity: Set this to authenticate using Workload Identity Federation. The driver authenticates to AWS according to the AWSWorkloadIdentityConfig and provides Google Security Token Serivce with an authentication token. The Google STS validates this token and produces an OAuth token that can access Google services.