Repository navigation
Conversation
Anshu6250
force-pushed
the
mtls-support
branch
5 times, most recently
from
October 15, 2026 12:40
66c612e to
7345322
Compare
Contributor
|
@Anshu6250 please split this PR |
sachinpro
reviewed
Oct 21, 2026
| # driver's shared library. | ||
| #TrustedCerts= | ||
|
|
||
| # Certificate-based access (mutual TLS) options per AIP-4114. |
Collaborator
There was a problem hiding this comment.
If this is used only for integration tests, lets remove this since we are setting it through integration tests.
…resolver, and unit tests
Anshu6250
force-pushed
the
mtls-support
branch
from
October 28, 2026 08:45
7345322 to
4b6d992
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements client-side Certificate-Based Access (mTLS) support in the Google Cloud BigQuery ODBC Driver following Google API design standard AIP-4114.
This is Part 1 of the mTLS support series. It introduces the foundational mTLS configuration structures, in-memory PEM parser, SecureConnect / Endpoint Verification (
cert_provider_command) process spawner, AIP-4114 configuration resolver, composite gRPC channel credentials builder, and unit test suite inbq_client_interface.Key Changes
1. Client Interface & Core Engine
google/cloud/odbc/bq_client_interface/odbc_authentication.h:struct MtlsOptions(use_client_certificate,use_mtls_endpoint,client_certificate_path,client_private_key_path) andMtlsOptions mtls;tostruct ConnProps.google/cloud/odbc/bq_client_interface/mtls.h/.cc:ResolveMtlsConfig):GOOGLE_API_USE_CLIENT_CERTIFICATE,GOOGLE_API_USE_MTLS_ENDPOINT) > Default device certificate.googleapis.comper AIP-4114).SplitPemBundle&LoadClientCertificateFromFiles):ParseCertProviderCommand&RunCommandCaptureStdout):CreateProcessAwithCREATE_NO_WINDOWand MS CRT argument quoting.posix_spawnp(thread-safe for ODBC driver hosting applications).MakeMtlsGrpcChannelCredentials):Beareraccess tokens.google/cloud/odbc/bq_client_interface/CMakeLists.txt&odbc_bq_client_interface.bzl:mtls.handmtls.ccin theodbc_bq_client_interfacelibrary target.2. Tests
google/cloud/odbc/bq_client_interface/mtls_test.cc:PR Series
bq_client_interface.ConnectionHandlesetup, and unit tests inbq_driver.