Skip to content

feat: support Cloud SQL CAS-based instances #390

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 8 commits into from
Sep 30, 2024
Merged

Conversation

jackwotherspoon
Copy link
Collaborator

The CAS instances will have a different way to verify the server identity.
They will use the dnsName of the Cloud SQL instance.

This PR supports that by leveraging tls.checkServerIdentity

@jackwotherspoon jackwotherspoon self-assigned this Sep 27, 2024
@jackwotherspoon jackwotherspoon requested a review from a team as a code owner September 27, 2024 13:30
@jackwotherspoon jackwotherspoon changed the title Cas support feat: support Cloud SQL CAS-based instances Sep 27, 2024
@jackwotherspoon
Copy link
Collaborator Author

Plumbing all these locations through will be made nicer with a refactor to InstanceConnectionInfo in the future as part of #341

Copy link
Collaborator

@hessjcg hessjcg left a comment

Choose a reason for hiding this comment

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

Overall, it looks like it functions. I don't think it makes sense to refactor before completing this feature. Let's plan a refactor for clarity as a separate effort.

@jackwotherspoon jackwotherspoon merged commit 5d2c02f into main Sep 30, 2024
22 checks passed
@jackwotherspoon jackwotherspoon deleted the cas-support branch September 30, 2024 16:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants