Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IAPIdentityAwareProxyClient can be referenced by IAMPolicy/IAMPolicyMember #588

Open
headcr4sh opened this issue Jan 12, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@headcr4sh
Copy link

Describe the feature or resource
When creating an IAPIdentityAwareProxyClient it is right now not possible to grant access to the app and other HTTPS resources that use IAP.

See also: https://cloud.google.com/iap/docs/managing-access#add_access

Desired approach / example:

---
apiVersion: iap.cnrm.cloud.google.com/v1beta1
kind: IAPIdentityAwareProxyClient
metadata:
  name: iap-dependency
spec:
  displayName: "My IAP"
  brandRef:
    external: '${IAP_BRAND_ID?}'
...
---
apiVersion: iam.cnrm.cloud.google.com/v1beta1
kind: IAMPolicyMember
metadata:
  name: iap-access
spec:
  resourceRef:
    # TODO This is not (yet?) possible, because IAMPolicyMember cannot reference IAP client resources.
    apiVersion: iap.cnrm.cloud.google.com/v1beta1
    kind: IAPIdentityAwareProxyClient
    name: iap-dependency
  role: roles/iap.httpsResourceAccessor
  member: 'group:${GOOGLE_GROUP_NAME?}@${GOOGLE_WORKSPACE_DOMAIN?}'
#...

Importance

Without this feature, access to resources protected by the IAPIdentityAwareProxyClient cannot be configured using Config Connector. Instead, an additional (speak: manual) step must be executed to update the IAM binding and manage access.

@headcr4sh headcr4sh added the enhancement New feature or request label Jan 12, 2022
@diviner524
Copy link
Collaborator

@headcr4sh Thank you for your suggestion! This is a known limitation and we're currently working on it. We will let you know when we have more information.

@tedelwartowski-bestbuy
Copy link

@diviner524 - looking to understand if there has been any progress on this and if you have an idea on the timeframe when this will be available?

@caieo
Copy link
Contributor

caieo commented May 9, 2022

@tedelwartowski-bestbuy, IAM support is added in the v1beta1 version of IAPIdentityAwareProxyClient, which is why it is not currently supported by KCC. We have added it to our queue of resource enhancements that we will look into, but do not currently have a timeframe we can provide you.

Please reach out to us via Cloud support to prioritize your request if this is a blocker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants