-
Notifications
You must be signed in to change notification settings - Fork 11
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
feat(provisioning): Keycloak provisioning from custom config #573
Conversation
@elizabethhealy this is awesome work! Would this deprecate the other key cloak provisioner? If so, could we validate that it can do the same thing and remove the defunct code with this PR? |
@jrschumacher not fully, this doesn't support the token exchange setup yet, i can work on adding that |
@elizabethhealy Can you sync with @mkleene. I think he has some keycloak command changes in pr #546 as well. |
@jrschumacher i cleaned this up a little to remove some of the duplication with the other keycloak provisioning, the other kc provision command still exists but they call the same functions |
Quality Gate passedIssues Measures |
🤖 I have created a release *beep* *boop* --- ## [0.2.0](lib/fixtures/v0.1.0...lib/fixtures/v0.2.0) (2024-04-26) ### Features * allow --insecure in provision keycloak cmd ([#629](#629)) ([a672325](a672325)) * **provisioning:** Keycloak provisioning from custom config ([#573](#573)) ([f9e9d72](f9e9d72)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com> Co-authored-by: Jake Van Vorhis <83739412+jakedoublev@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [0.2.0](service/v0.1.0...service/v0.2.0) (2024-04-26) ### Features * **policy:** move key access server registry under policy ([#655](#655)) ([7b63394](7b63394)) * **provisioning:** Keycloak provisioning from custom config ([#573](#573)) ([f9e9d72](f9e9d72)) * **sdk:** make enforcement of DPoP optional ([#617](#617)) ([028064c](028064c)) ### Bug Fixes * **core:** remove unused db argument ([#653](#653)) ([cfbd168](cfbd168)) * **db:** invalid uuid error message ([#633](#633)) ([c8f61aa](c8f61aa)) * **sdk:** this (`enforceDPoP`) flag needs to be flipped ([#649](#649)) ([dd65db1](dd65db1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com> Co-authored-by: jakedoublev <jake.vanvorhis@virtru.com>
🤖 I have created a release *beep* *boop* --- ## [0.2.0](opentdf/platform@lib/fixtures/v0.1.0...lib/fixtures/v0.2.0) (2024-04-26) ### Features * allow --insecure in provision keycloak cmd ([#629](opentdf/platform#629)) ([a672325](opentdf/platform@a672325)) * **provisioning:** Keycloak provisioning from custom config ([#573](opentdf/platform#573)) ([f9e9d72](opentdf/platform@f9e9d72)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com> Co-authored-by: Jake Van Vorhis <83739412+jakedoublev@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [0.2.0](opentdf/platform@service/v0.1.0...service/v0.2.0) (2024-04-26) ### Features * **policy:** move key access server registry under policy ([#655](opentdf/platform#655)) ([7b63394](opentdf/platform@7b63394)) * **provisioning:** Keycloak provisioning from custom config ([#573](opentdf/platform#573)) ([f9e9d72](opentdf/platform@f9e9d72)) * **sdk:** make enforcement of DPoP optional ([#617](opentdf/platform#617)) ([028064c](opentdf/platform@028064c)) ### Bug Fixes * **core:** remove unused db argument ([#653](opentdf/platform#653)) ([cfbd168](opentdf/platform@cfbd168)) * **db:** invalid uuid error message ([#633](opentdf/platform#633)) ([c8f61aa](opentdf/platform@c8f61aa)) * **sdk:** this (`enforceDPoP`) flag needs to be flipped ([#649](opentdf/platform#649)) ([dd65db1](opentdf/platform@dd65db1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com> Co-authored-by: jakedoublev <jake.vanvorhis@virtru.com>
🤖 I have created a release *beep* *boop* --- ## [0.2.0](opentdf/platform@lib/fixtures/v0.1.0...lib/fixtures/v0.2.0) (2024-04-26) ### Features * allow --insecure in provision keycloak cmd ([#629](opentdf/platform#629)) ([a672325](opentdf/platform@a672325)) * **provisioning:** Keycloak provisioning from custom config ([#573](opentdf/platform#573)) ([f9e9d72](opentdf/platform@f9e9d72)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com> Co-authored-by: Jake Van Vorhis <83739412+jakedoublev@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [0.2.0](opentdf/platform@service/v0.1.0...service/v0.2.0) (2024-04-26) ### Features * **policy:** move key access server registry under policy ([#655](opentdf/platform#655)) ([7b63394](opentdf/platform@7b63394)) * **provisioning:** Keycloak provisioning from custom config ([#573](opentdf/platform#573)) ([f9e9d72](opentdf/platform@f9e9d72)) * **sdk:** make enforcement of DPoP optional ([#617](opentdf/platform#617)) ([028064c](opentdf/platform@028064c)) ### Bug Fixes * **core:** remove unused db argument ([#653](opentdf/platform#653)) ([cfbd168](opentdf/platform@cfbd168)) * **db:** invalid uuid error message ([#633](opentdf/platform#633)) ([c8f61aa](opentdf/platform@c8f61aa)) * **sdk:** this (`enforceDPoP`) flag needs to be flipped ([#649](opentdf/platform#649)) ([dd65db1](opentdf/platform@dd65db1)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: opentdf-automation[bot] <149537512+opentdf-automation[bot]@users.noreply.github.com> Co-authored-by: jakedoublev <jake.vanvorhis@virtru.com>
Custom keycloak provisioning
Allows for custom keycloak setup including custom users, groups, clients, attributes etc
Follow the example yaml for setup, uses gocloak client/user/group json representations