Set up ADC for a containerized development environment

Authentication for containerized applications running on Cloud Run, Google Kubernetes Engine, or GKE Enterprise is handled differently between local testing environments and Google Cloud environments.

Test containerized applications locally

To test your containerized application on your local workstation, you can configure your container to authenticate with your local ADC file. For more information, see Configure ADC with your Google Account.

To test your implementation, use a local Kubernetes implementation such as minikube and the gcp-auth addon.

Run containerized applications on Google Cloud

You set up authentication for Google Cloud containerized environments differently depending on the environment:

What's next

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年10月16日 UTC.