Stay organized with collections Save and categorize content based on your preferences.
An opaque representation of the authentication configuration.
Applications use factory functions to provide the authentication parameters (for example, a raw access token). The factory function encapsulates the parameters in an instance of this class. The interface in this class is (intentionally) very narrow. Only the internal components in the client libraries should need to access the details of this class.
You can use the OAuth2 Library to create access tokens from a Credentials
object.
https://cloud.google.com/docs/authentication for more information on authentication in GCP.
See Alsohttps://cloud.google.com/iam for more information on the IAM Service.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["This webpage provides documentation for different versions of the `Credentials` class in the Google Cloud C++ client library."],["The latest version available is 2.37.0-rc, and there are multiple versions ranging from 2.36.0 down to 2.10.1."],["The `Credentials` class represents the authentication configuration for GCP, which applications can generate via factory functions."],["You can generate access tokens using the OAuth2 Library, in conjunction with a `Credentials` object."],["The details regarding the `Credentials` class are only intended for the internal components of client libraries, and a user can find more information on GCP authentication and the IAM Service through links."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4