Skip to content

feat: allow Workload Identity Federation for Google connector#1

Open
midu-git wants to merge 1 commit intomasterfrom
CLOUD-394
Open

feat: allow Workload Identity Federation for Google connector#1
midu-git wants to merge 1 commit intomasterfrom
CLOUD-394

Conversation

@midu-git
Copy link
Copy Markdown
Collaborator

@midu-git midu-git commented Oct 10, 2023

  • A new Google connector option have been introduced, i.e.,
    serviceAccountToImpersonate. If this field is non-empty, it is
    assumed that Workload Identity Federation shall be used, and the
    linked service account needs to be configured for domain-wide
    delegation. Moreover, the service account used for Workload Identity
    Federation must include Service Account Token Creator for this
    service account.
  • Print some warnings if the configuration is not consistent or erroneous.
  • Fix fetching groups to rely on groups as scope. In the case groups
    is specified as a scope, the oauth authentication call will fail as
    Google doesn't support it. Moreover, as fetching groups requires the
    group directory service, it is enough to assume the existence of this
    service as a prerequisite for the fetch. If groups is specified as a
    scope, a warning is printed, instead of erroring out, for backwards
    compatibility reasons.
  • When specifying groups in the configuration, but no group directory
    service will be created, a warning is printed that the groups
    configuration will be ignored.

@midu-git midu-git force-pushed the CLOUD-394 branch 2 times, most recently from 9ff35da to 33a4dda Compare October 11, 2023 06:24
@midu-git midu-git force-pushed the CLOUD-394 branch 6 times, most recently from be1f1b0 to 113be40 Compare October 26, 2023 05:21
* A new Google connector option have been introduced, i.e.,
  `serviceAccountToImpersonate`. If this field is non-empty, it is
  assumed that Workload Identity Federation shall be used, and the
  linked service account needs to be configured for domain-wide
  delegation. Moreover, the service account used for Workload Identity
  Federation must include `Service Account Token Creator` for this
  service account.
* Print some warnings if the configuration is not consistent or erroneous.
* Fix fetching groups to rely on `groups` as scope. In the case `groups`
  is specified as a scope, the oauth authentication call will fail as
  Google doesn't support it. Moreover, as fetching groups requires the
  group directory service, it is enough to assume the existence of this
  service as a prerequisite for the fetch. If `groups` is specified as a
  scope, a warning is printed, instead of erroring out, for backwards
  compatibility reasons.
* When specifying `groups` in the configuration, but no group directory
  service will be created, a warning is printed that the groups
  configuration will be ignored.

Signed-off-by: Michael Dudzinski <michael.dudzinski@web.de>
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