[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間: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)."]]