Skip to content

Add administrator guide for external user management integration - #113

Merged
makr-code merged 3 commits into
mainfrom
copilot/add-administrator-guide-user-management
Dec 18, 2025
Merged

makr-code merged 3 commits into
mainfrom
copilot/add-administrator-guide-user-management

Conversation

Copilot AI commented Dec 18, 2025 •

Copy link
Copy Markdown
Contributor

ThemisDB has no built-in user management—authentication and authorization are delegated to external systems (JWT providers, Apache Ranger, Active Directory/LDAP). This guide documents the integration architecture and operational workflows for administrators.

Changes

  • New guide: docs/guides/guides_user_management.md (1,070 lines, German)

    • Two-tier security model: JWT validation → Policy Engine (ABAC)
    • JWT integration: Keycloak, Auth0, Azure AD, AWS Cognito
    • Active Directory/LDAP: Setup via Identity Provider (OIDC/SAML → JWT)
    • Apache Ranger: Policy import/export with auto-sync
    • RBAC scopes: admin, config:write, data:write, pii:reveal, etc.
    • Operational workflows: user creation, role changes, policy updates
    • Troubleshooting: JWT validation failures, scope checks, policy denials
    • Production best practices: TLS, token rotation, least privilege
  • Navigation: Added to mkdocs.yml under Sicherheit & Governance > Authentication

Architecture

Active Directory / LDAP
         ↓ (LDAP bind, group sync)
Identity Provider (Keycloak / Azure AD)
         ↓ (OIDC/SAML → JWT)
      ThemisDB
   ├─ JWT Validation (JWKS, RS256)
   └─ Policy Engine (Ranger-compatible ABAC)

Configuration Example

jwt:
  enabled: true
  jwks_url: "https://keycloak.example.com/realms/themis/protocol/openid-connect/certs"
  expected_issuer: "https://keycloak.example.com/realms/themis"
  expected_audience: "themisdb-api"
  scope_claim: "roles"  # Extract scopes from JWT "roles" claim

ranger:
  enabled: true
  base_url: "https://ranger.example.com"
  service_name: "themisdb-prod"
  auto_sync_enabled: true
  sync_interval_minutes: 15

Note: Includes Keycloak 16 vs 17+ URL format compatibility notes (/auth/realms/ vs /realms/).

Original prompt

Wir brauchen noch eine guide für Administratoren um die Benutzerverwaltung der Themis funktionert. die sie ja nicht selber besitzt, sondern von außen durch Ranger/activedirectory oder ähliche sichergestellt wir


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI changed the title [WIP] Add guide for administrators on user management Add administrator guide for external user management integration Dec 18, 2025
Copilot AI requested a review from makr-code December 18, 2025 20:11
@makr-code
makr-code marked this pull request as ready for review December 18, 2025 20:15
@makr-code
makr-code merged commit 22f1500 into main Dec 18, 2025
@makr-code makr-code added this to the v1.0.2 milestone Mar 11, 2026
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.

2 participants