Skip to content

Conversation

nbayati
Copy link
Contributor

@nbayati nbayati commented Oct 8, 2025

This change introduces support for requesting certificate-bound access tokens for Agent Identities on GKE and Cloud Run. The design doc: go/sdk-agent-identity

Please keep in mind that the unit tests are a work in progress and they are not comprehensive yet.
I've opened the PR to give folks a chance to review it while I'm OOO (I'll be back on Oct 15)

Implementation Details & Open Discussion Points

The current implementation contains specific logic for handling resiliency and failures. These are initial implementations and are fully open to discussion, with the final design subject to further conversation.

  • Resiliency and Backoff: The Cloud Run flow includes a retry mechanism with exponential backoff (5 attempts over ~15 seconds) for loading certificates. The GKE flow currently lacks this and fails immediately. We welcome discussion on whether to add retries to the GKE flow and if the current backoff configuration for Cloud Run is appropriate.

  • Failure Policy: In the Cloud Run flow, a failure to load the certificate results in a fallback to a standard, unbound token. We are seeking feedback on whether this "soft fail" is the correct approach, or if a "hard fail" would be more suitable for security-conscious applications.

This change introduces support for requesting certificate-bound access tokens for Agent Identities on GKE and Cloud Run.
@nbayati nbayati requested review from a team as code owners October 8, 2025 09:40
@nbayati nbayati requested review from lsirac and sai-sunder-s October 8, 2025 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant