How to securely connect ADK agents to models on Cloud Run(leoy.blog)
leoy.blog
How to securely connect ADK agents to models on Cloud Run
https://leoy.blog/posts/securely-connect-agents-to-models/
https://leoy.blog/posts/securely-connect-agents-to-models/
This post explores three ways to solve this: Static headers for ephemeral, scale-to-zero workloads. Subclassing LiteLLMClient in Python to dynamically intercept acompletion requests, fetch credentials via ADC, and handle automated token refreshing on HTTP 401 errors. Using a litellm-proxy sidecar container to abstract the authentication entirely. Would love to get any feedback on these patterns!