[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003eCloud-based Google Cloud development environments like Cloud Shell and Cloud Code automatically manage credentials and authorizations using your sign-in information.\u003c/p\u003e\n"],["\u003cp\u003eThe gcloud CLI cannot be used to configure Application Default Credentials (ADC) in Cloud Shell or Cloud Code environments.\u003c/p\u003e\n"],["\u003cp\u003eFor alternative user accounts or service account ADC configuration, utilize a local or Google Cloud compute environment.\u003c/p\u003e\n"],["\u003cp\u003eExplore various resources on Cloud Code, Cloud Shell, ADC credential discovery, client libraries, and REST authentication methods for more information.\u003c/p\u003e\n"]]],[],null,["When you use a Google Cloud cloud-based development environment such as\nCloud Shell or Cloud Code, the tool uses the credentials you provided\nwhen you signed in, and manages any authorizations required. You cannot use\nthe gcloud CLI to configure ADC in these environments. If\nyou need to use a different user account to configure ADC, or configure ADC\nusing a service account, use a local development environment or a\nGoogle Cloud compute resource as your development environment.\n\nWhat's next\n\n- Get more information about [Cloud Code](/code/docs).\n- Get more information about [Cloud Shell](/shell/docs).\n- Learn more about [how ADC finds credentials](/docs/authentication/application-default-credentials).\n- [Authenticate for using Cloud Client Libraries](/docs/authentication/client-libraries).\n- [Authenticate for using REST](/docs/authentication/rest).\n- Explore [authentication methods](/docs/authentication)."]]