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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 UTC."],[[["\u003cp\u003eVersion 2.37.0-rc is the latest release candidate for the Credentials class documentation, while version 2.32.0 is also available.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation provides a detailed overview of the \u003ccode\u003eCredentials\u003c/code\u003e class across multiple versions, ranging from 2.10.1 to 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCredentials\u003c/code\u003e class is an opaque representation of authentication configuration, used to encapsulate authentication parameters for internal client library components.\u003c/p\u003e\n"],["\u003cp\u003eAccess tokens can be created from a \u003ccode\u003eCredentials\u003c/code\u003e object using the OAuth2 Library.\u003c/p\u003e\n"],["\u003cp\u003eExternal links are provided for further information regarding authentication in GCP and the IAM service.\u003c/p\u003e\n"]]],[],null,[]]