Name | keycloaknanny JSON |
Version |
23.0.0
JSON |
| download |
home_page | None |
Summary | Simple Python library for managing a toy Keycloak instance. |
upload_time | 2023-04-07 15:08:15 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.7 |
license | None |
keywords |
keycloak
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Keycloak Nanny
Simple Python wrapper around the Keycloak admin REST API,
to programmatically create realms, clients, users, ...
Intended to be used on test/toy/dummy Keycloak instances,
e.g. running locally in docker:
```bash
docker run --rm \
-p 8642:8080 \
-e KEYCLOAK_ADMIN=admin \
-e KEYCLOAK_ADMIN_PASSWORD=admin \
quay.io/keycloak/keycloak:21.0.2 start-dev
```
Then create realms, client and users against this instance:
```python
kc_nanny = keycloaknanny.KeycloakNanny("http://localhost:8642"),
realm = nanny.create_realm()
print("Created realm", realm)
nanny.set_default_realm(realm.name)
client = nanny.create_client()
print("Created client", client)
user = nanny.create_user()
print("Created user", user)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "keycloaknanny",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "keycloak",
"author": null,
"author_email": "Stefaan Lippens <soxofaan@gmail.com>",
"download_url": null,
"platform": null,
"description": "\n# Keycloak Nanny\n\nSimple Python wrapper around the Keycloak admin REST API,\nto programmatically create realms, clients, users, ...\n\nIntended to be used on test/toy/dummy Keycloak instances,\ne.g. running locally in docker:\n\n```bash\ndocker run --rm \\\n -p 8642:8080 \\\n -e KEYCLOAK_ADMIN=admin \\\n -e KEYCLOAK_ADMIN_PASSWORD=admin \\\n quay.io/keycloak/keycloak:21.0.2 start-dev\n```\n\nThen create realms, client and users against this instance:\n\n```python\nkc_nanny = keycloaknanny.KeycloakNanny(\"http://localhost:8642\"),\n\n\nrealm = nanny.create_realm()\nprint(\"Created realm\", realm)\nnanny.set_default_realm(realm.name)\n\nclient = nanny.create_client()\nprint(\"Created client\", client)\n\nuser = nanny.create_user()\nprint(\"Created user\", user)\n\n```\n",
"bugtrack_url": null,
"license": null,
"summary": "Simple Python library for managing a toy Keycloak instance.",
"version": "23.0.0",
"split_keywords": [
"keycloak"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "b66f2b1a2129dc17512dcb09c4ec3ee9a63268eb3f9c9716d1c2d05b13f86147",
"md5": "848db2553511dbd572052d2a1aa32d88",
"sha256": "5257215a9c79410fc89ec5004f198c38dc6a9671d8a4e596303c100eee35869a"
},
"downloads": -1,
"filename": "keycloaknanny-23.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "848db2553511dbd572052d2a1aa32d88",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 4789,
"upload_time": "2023-04-07T15:08:15",
"upload_time_iso_8601": "2023-04-07T15:08:15.572328Z",
"url": "https://files.pythonhosted.org/packages/b6/6f/2b1a2129dc17512dcb09c4ec3ee9a63268eb3f9c9716d1c2d05b13f86147/keycloaknanny-23.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-07 15:08:15",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "keycloaknanny"
}