Google Cloud IAM C++ Client 2.13.0
A C++ Client Library for Google Cloud IAM
|
Unless otherwise configured, the client libraries use Application Default Credentials to authenticate with Google Cloud Services. While this works for most applications, in some cases you may need to override this default. You can do so by providing the UnifiedCredentialsOption The following example shows how to explicitly load a service account key file:
Follow these links to find examples for other *Client
classes:
iam_admin_v1::IAMClient
iam_credentials_v1::IAMCredentialsClient
iam_v1::IAMPolicyClient
iam_v2::PoliciesClient
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.
google::cloud::Credentials
objects.