{"id":20604020,"url":"https://github.com/tschaefer/ruby-keycloak-admin","last_synced_at":"2026-04-16T16:36:15.605Z","repository":{"id":165485136,"uuid":"578194972","full_name":"tschaefer/ruby-keycloak-admin","owner":"tschaefer","description":"Ruby Keycloak API wrapper","archived":false,"fork":false,"pushed_at":"2025-01-15T11:09:27.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-15T13:11:59.562Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tschaefer.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}},"created_at":"2022-12-14T13:34:07.000Z","updated_at":"2025-01-15T11:09:27.000Z","dependencies_parsed_at":"2024-11-16T09:20:13.594Z","dependency_job_id":"5f4e86e3-19d6-425e-8c02-1b0477af95bd","html_url":"https://github.com/tschaefer/ruby-keycloak-admin","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fruby-keycloak-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fruby-keycloak-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fruby-keycloak-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tschaefer%2Fruby-keycloak-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tschaefer","download_url":"https://codeload.github.com/tschaefer/ruby-keycloak-admin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242250191,"owners_count":20096890,"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":[],"created_at":"2024-11-16T09:20:04.190Z","updated_at":"2026-04-16T16:36:15.590Z","avatar_url":"https://github.com/tschaefer.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# keycloak-admin\n\nRuby Keycloak admin API wrapper.\n\n## Introduction\n\n`Keycloak::Admin` is a Ruby client for the Keycloak administration API.\n\nIt provides functionality to manage Keycloak resources and objects.\nCurrently following resources are supported.\n\n* Clients\n* Groups\n* Realms\n* Users\n\nIn common creating, deleting and updating of resource objects as well as\nfetching (by identifier) and searching by attributes is possible.\n\nThe `Users` interface additionally provides the functionality to list and\nterminate all current sessions of a named users object.\nFurther the `Users` and `Groups` interface provide the methods to add,\nremove a users object to a groups object and list memberships.\n\n### Version\n\nThe current gem version equates the latest tested Keycloak version.\n\n## Installation\n\n```sh\ngem install ruby-keycloak-admin\n```\n\n## Usage\n\nThe required step is to set up a connection to a Keycloak service.\n\n```ruby\nrequire 'keycloak/admin'\n\nKeycloak::Admin.configure do |config|\n  config.username = 'admin'\n  config.password = 'admin'\n  config.realm    = 'zone'                          # default: master\n  config.base_url = 'https://keycloak.example.com'  # default: http://localhost:8080\nend\n```\n\nFollowing example lists all users in the configured realm filtered by the\nmatching last name.\n\n```ruby\nKeycloak::Admin.users.find_by(lastName: 'Doe')\n```\n\nFor further usage use `ri` or `rake doc` to create HTML documentation files.\n\n## License\n\n[MIT License](https://spdx.org/licenses/MIT.html)\n\n## Is it any good?\n\n[Yes.](https://news.ycombinator.com/item?id=3067434)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschaefer%2Fruby-keycloak-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftschaefer%2Fruby-keycloak-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftschaefer%2Fruby-keycloak-admin/lists"}