Skip to content

Conversation

7sinStone
Copy link

Description
This PR adds support for the universe_domain parameter in the GCS backend.
By default, the backend uses the standard googleapis.com, but with this change, users can optionally configure a custom universe_domain to enable Vault to work in sovereign cloud environments.

Related Issue
Closes #31549

Changes Introduced

  • Added universe_domain as an optional configuration in the GCS backend
  • Updated tests to allow specifying a custom universe domain and region

Backward Compatibility

  • If universe_domain is not set, Vault continues to use googleapis.com by default

Additional Context
This enhancement enables the use of Vault with GCP sovereign clouds, where custom API domains are required.

Signed-off-by: Houssein Mnaouar [email protected]

…test bucket location support

Small, opt-in changes:

- Accept GOOGLE_UNIVERSE_DOMAIN (or config value) when building the GCS client.
- Add minimal support for GOOGLE_BUCKET_LOCATION in tests to create buckets in non-standard regions.
- Tests updated accordingly. Default behaviour unchanged when no universe_domain provided.

Signed-off-by: Houssein Mnaouar <[email protected]>
@7sinStone 7sinStone requested a review from a team as a code owner September 14, 2025 18:59
@7sinStone 7sinStone requested a review from kpcraig September 14, 2025 18:59
Copy link

vercel bot commented Sep 14, 2025

@7sinStone is attempting to deploy a commit to the HashiCorp Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

hashicorp-cla-app bot commented Sep 14, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

CLA assistant check

Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement

Learn more about why HashiCorp requires a CLA and what the CLA includes

Have you signed the CLA already but the status is still pending? Recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for non-default google cloud universe domain for GCS backends

2 participants