Google Cloud Spanner C++ Client 2.13.0
A C++ Client Library for Google Cloud Spanner
|
Some applications cannot use the default authentication mechanism (known as [Application Default Credentials]).
You can override this default using google::cloud::UnifiedCredentialsOption
. The following example shows how to explicitly load a service account key file.
Keep in mind that we chose this as an example because it is relatively easy to understand. Consult the [Best practices for managing service account keys] guide for more details.
Follow these links to find examples for other *Client
classes: