{"id":28591462,"url":"https://github.com/thehyve/fairspace-keycloak-configuration","last_synced_at":"2025-08-29T02:35:59.680Z","repository":{"id":146178174,"uuid":"138883769","full_name":"thehyve/fairspace-keycloak-configuration","owner":"thehyve","description":"Repository containing scripts for configuration of Fairspace Keycloak","archived":true,"fork":false,"pushed_at":"2021-08-16T10:37:59.000Z","size":112,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"dev","last_synced_at":"2025-06-11T09:14:53.578Z","etag":null,"topics":["fairspace"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thehyve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-06-27T13:14:16.000Z","updated_at":"2024-12-02T09:50:31.000Z","dependencies_parsed_at":"2023-05-24T12:45:26.467Z","dependency_job_id":null,"html_url":"https://github.com/thehyve/fairspace-keycloak-configuration","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/thehyve/fairspace-keycloak-configuration","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehyve%2Ffairspace-keycloak-configuration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehyve%2Ffairspace-keycloak-configuration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehyve%2Ffairspace-keycloak-configuration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehyve%2Ffairspace-keycloak-configuration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thehyve","download_url":"https://codeload.github.com/thehyve/fairspace-keycloak-configuration/tar.gz/refs/heads/dev","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thehyve%2Ffairspace-keycloak-configuration/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261917438,"owners_count":23229917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fairspace"],"created_at":"2025-06-11T09:14:51.713Z","updated_at":"2025-06-25T17:08:36.716Z","avatar_url":"https://github.com/thehyve.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keycloak configuration scripts\n\nThis repository contains configuration scripts to configure\nKeycloak when installing a new Fairspace instance.\nThe scripts are usually executed via helm post-install hooks.\n\n## Keycloak admin api\n\nThe configurations scripts make use of the `kcadm.sh` script\nthat calls the Keycloak Admin API from the command line.\nThis simplifies the usage of the api a bit. More information can be\nfound in [the Keycloak admin CLI documentation](https://www.keycloak.org/docs/12.0/server_admin/index.html#the-admin-cli).\n\nThe scripts and their dependencies are packaged in a Docker container.\n\n## Local testing\n\nYou can test the scripts locally by starting the\ndocker container and mounting the scripts directory inside.\n\nThe following command would do the trick:\n\n```\ndocker build . --tag keycloak-config\ndocker run --rm -it -v \u003cabsolute-path-to-scripts\u003e:/opt/jboss/scripts keycloak-config\n```\n\nYou can also pass environment variables to work with the scripts easily. For example:\n\n```\ndocker run --rm -it \\\n  -v \u003cabsolute-path-to-scripts\u003e:/opt/jboss/scripts \\\n  -v \u003cabsolute-path-to-url-file\u003e:/opt/jboss/redirect-urls \\\n  -e \"KEYCLOAK_USER=keycloak\" \\\n  -e \"KEYCLOAK_PASSWORD=keycloak\" \\\n  -e \"KEYCLOAK_URL=http://172.17.0.1:5100/auth\" \\\n  keycloak-config\n```\n\nThat would allow you to run the `setup-keycloak-hyperspace.sh` script as follows:\n\n```\n./setup-keycloak-hyperspace.sh $KEYCLOAK_URL $KEYCLOAK_USER\n```\n\nPlease note that the docker -v command requires the absolute path to the scripts\ndirectory to work properly.\n\n## License\n\nCopyright (c) 2021 The Hyve B.V.\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the Apache 2.0\nLicense published by the Apache Software Foundation, either version 2.0 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty\nof MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Apache 2.0 License for more details.\n\nYou should have received a copy of the Apache 2.0 License along with this program (see [LICENSE](LICENSE)). If not, see https://www.apache.org/licenses/LICENSE-2.0.txt.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehyve%2Ffairspace-keycloak-configuration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthehyve%2Ffairspace-keycloak-configuration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthehyve%2Ffairspace-keycloak-configuration/lists"}