Skip to content

Conversation

@andyrzhao
Copy link
Contributor

@andyrzhao andyrzhao commented Dec 2, 2025

This patch adds a fallback logic to look for Cloud Run cert/keys in the well-known location if the cert config contains the exact incorrect cert/key paths AND the incorrect cert/key paths point to non-existent files.

Note: This patch will be reverted sometime in Jan 2026, after Cloud Run environment is updated with the correct cert configs. The revert will be tracked by #1881

@andyrzhao andyrzhao requested review from a team as code owners December 2, 2025 05:57
nbayati
nbayati previously approved these changes Dec 2, 2025
Copy link
Contributor

@nbayati nbayati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

yaoliugg added a commit to yaoliugg/google-auth-library-python that referenced this pull request Dec 3, 2025
)
key_path = workload["key_path"]

# == BEGIN Temporary Cloud Run PATCH ==
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a TODO: string somewhere giving some context, and letting us know how and when the patch can be removed. Maybe add a link to this PR or a bug too (is there a tracking bug that will be resolved when this can be removed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created a github issue to track this at #1881 and assigned it to myself. Included this in the comments.

@daniel-sanche daniel-sanche enabled auto-merge (squash) December 4, 2025 22:03
@daniel-sanche daniel-sanche merged commit 78de790 into googleapis:main Dec 4, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants