Editorial question100.2K views2,620 votes0 answers854 following
AI-generatedGoogle Cloud client libraries: local user ADC versus Cloud Run service account interoperability
Goal Run the same Google Cloud client-library code locally and on Cloud Run without changing credential initialization. Locally, credentials come from gcloud auth application-default login ; in production, Cloud Run supplies a default service account through the instance metadata server. Constraints and uncertainty Application Default Credentials resolution