Skip to content

feat: IAM support for GDB#618

Open
karenc-bq wants to merge 2 commits intodev/v3from
feat/gdb-iam
Open

feat: IAM support for GDB#618
karenc-bq wants to merge 2 commits intodev/v3from
feat/gdb-iam

Conversation

@karenc-bq
Copy link
Contributor

@karenc-bq karenc-bq commented Mar 3, 2026

Summary

Description

  • ensure IAM-based plugins can parse the correct region from global cluster endpoints
  • refactor federated auth and okta auth plugins to reduce code duplication

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@karenc-bq karenc-bq requested a review from a team as a code owner March 3, 2026 05:31
@karenc-bq karenc-bq force-pushed the feat/gdb-iam branch 3 times, most recently from e4d8ee8 to 8cf1954 Compare March 3, 2026 06:53
}

this.region = RegionUtils.getRegion(props.get(WrapperProperties.CUSTOM_ENDPOINT_REGION.name), this.customEndpointHostInfo.host);
const regionUtils = new RegionUtils();
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious, is custom endpoint plugin incompatible with global? This doesn't seem to allow it to use the gdb region utils

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, let's add the feature to custom endpoints as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Discussed this further offline and decided to keep this unchanged.
We will not reach this section of the code unless the URL is a custom endpoints URL. Custom endpoints URL contains proper region information, so there is no need to retrieve region information using GDBRegionUtils here.

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.

2 participants