Authentication for containerized applications running on Cloud Run or Google Kubernetes Engine is handled differently between local testing environments and Trusted 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 Trusted Cloud
See Access Trusted Cloud APIs from GKE workloads.
What's next
- Learn more about how ADC finds credentials.
- Authenticate for using Cloud Client Libraries.
- Authenticate for using REST.
- Explore authentication methods.