Skip to content

feat(keycloak_saml_client_installation_provider): support zip files #1239

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Codelax
Copy link

@Codelax Codelax commented Jul 7, 2025

Currently, the documentation makes use of saml-idp-descriptor provider to fetch the saml xml.
This provider seems not existent in the current version of keycloak.
I found a valid xml with the mod-auth-mellon provider but the returned value is a zip file.

This zip file is currently being put in value attribute as string, as this is binary data, it breaks the file and we cannot use it in terraform. An easy fix would be to add a value_base64 attribute but it would still remain hard to use as terraform does not provide a way to interact with a zip. We also could create a terraform function to help handle this zip file but it requires the terraform framework rather than the old SDK.

I added a new zip_files map attribute that will contain all files contained in the zip.

@Codelax Codelax force-pushed the feat/ds-saml-client-installation-provider-zip-files branch from 35d64a5 to e4fa946 Compare July 7, 2025 13:09
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.

1 participant