Skip to content

fix: harden Regional Access Boundary universe domain checks - #9859

Draft
bshaffer wants to merge 8 commits into
mainfrom
auth/rab-universe-domain
Draft

bshaffer wants to merge 8 commits into
mainfrom
auth/rab-universe-domain

Conversation

@bshaffer

@bshaffer bshaffer commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Harden Regional Access Boundary (RAB) gating across Auth and Gax so lookups are skipped for non-default universe domains:

  • Read top-level universe_domain in ImpersonatedServiceAccountCredentials (propagate to source_credentials when unset, and throw if they disagree)
  • Require confirmed default-universe endpoints/domains before running RAB lookups across Auth credentials
  • Gate RAB in GapicClientTrait and CredentialsWrapper::build() on universeDomain === 'googleapis.com' with a strict bool check (and default $enableRegionalAccessBoundary to false)
  • Enforce checkUniverseDomain() for GCECredentials and pre-built CredentialsWrapper instances when RAB is enabled

@bshaffer bshaffer changed the title fix: harden Regional Access Boundary universe domain checks fix: harden universe domain checks for RAB and Spanner metrics Nov 21, 2026
@bshaffer bshaffer changed the title fix: harden universe domain checks for RAB and Spanner metrics fix: harden Regional Access Boundary universe domain checks Nov 21, 2026

This branch has not been deployed

No deployments
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.

1 participant