Configura credenciales predeterminadas de la aplicación
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
La forma en que configuras las credenciales predeterminadas de la aplicación (ADC) para que las usen las bibliotecas cliente de Cloud, las bibliotecas cliente de las APIs de Google y las APIs de REST y RPC depende del entorno en el que se ejecuta tu código.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[[["\u003cp\u003eApplication Default Credentials (ADC) setup varies depending on the environment where your code is executed.\u003c/p\u003e\n"],["\u003cp\u003eADC is used by Cloud Client Libraries, Google API Client Libraries, and REST and RPC APIs, but API keys do not require ADC setup.\u003c/p\u003e\n"],["\u003cp\u003eADC setup instructions are provided for local development, resources with attached service accounts, containerized environments, on-premises or other cloud providers, and cloud-based development environments.\u003c/p\u003e\n"],["\u003cp\u003eYou can review documentation to better understand the order in which ADC finds credentials.\u003c/p\u003e\n"],["\u003cp\u003eYou can find further documentation on authenticating using cloud client libraries, REST, and other authentication methods.\u003c/p\u003e\n"]]],[],null,["How you set up Application Default Credentials (ADC) for use by\nCloud Client Libraries, Google API Client Libraries, and the REST and RPC APIs depends\non the environment where your code is running.\n\nFor information about where ADC looks for credentials and in what order,\nsee [How Application Default Credentials works](/docs/authentication/application-default-credentials).\n\nIf you are using API keys, then you don't need to set up\nADC. For more information, see [Use API keys to access APIs](/docs/authentication/api-keys-use).\n\nProvide credentials to ADC\n\nSelect the environment where your code is running:\n\n- [Local development environment](/docs/authentication/set-up-adc-local-dev-environment)\n- [Resource with an attached service account](/docs/authentication/set-up-adc-attached-service-account)\n- [Containerized environment](/docs/authentication/set-up-adc-containerized-environment)\n- [On-premises or another cloud provider](/docs/authentication/set-up-adc-on-premises)\n- [Cloud-based development environment](/docs/authentication/set-up-adc-cloud-dev-environment)\n\nWhat's next\n\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)."]]