Keycloak – eine Einführung

tiny-tool.de

tiny-tool.de

Was ist Keycloak?

KeyCloak ist eine Open-Source-Identitäts- und Zugriffsmanagementlösung, die von Red Hat entwickelt wurde. Es dient als zentrale Instanz zur Verwaltung von Benutzern, Identitäten, Berechtigungen und vielem mehr. In einer Zeit, in der Anwendungen und Dienste immer stärker miteinander vernetzt sind, stellt KeyCloak eine effiziente Möglichkeit dar, die Authentifizierung und Autorisierung von Benutzern zu vereinfachen und zu sichern.

Werbung/Advertising

Aromatico

Welches Problem löst KeyCloak?

In modernen Anwendungslandschaften kann die Verwaltung von Zugriffsrechten schnell komplex werden. Hier kommen Fragen auf wie:

  • Wie verwalte ich sicher die Identitäten meiner Benutzer?
  • Wie sorge ich dafür, dass die Benutzer nur auf die Ressourcen zugreifen können,
    für die sie berechtigt sind?
  • Wie ermögliche ich Single Sign-On (SSO) über verschiedene Anwendungen
    und Dienste hinweg?

KeyCloak bietet hierfür eine Reihe von Features und Tools, die es Entwicklern und Administratoren erleichtern, diese und viele andere Herausforderungen im Zusammenhang mit Identität und Zugriff zu meistern. Es unterstützt verschiedene Authentifizierungsprotokolle (wie SAML, OAuth2, OpenID Connect) und bietet eine umfangreiche REST-API für die Integration in unterschiedlichste Systemlandschaften.

Mit KeyCloak lassen sich also viele der „alltäglichen Kopfschmerzen“ im Bereich der Sicherheit und des Zugriffsmanagements lindern, sodass Sie sich auf die Entwicklung und Verbesserung Ihrer Anwendungen konzentrieren können.

Werbung/Advertising

<

Panda Dome Essential MD

Panda Dome Essential MD

Preis: 15,00 EUR

Zum Angebot

Microsoft Word 2016

Microsoft Word 2016

Preis: 14,90 EUR

Zum Angebot

AVG Ultimate

AVG Ultimate

Preis: 25,00 EUR

Zum Angebot

Office 2021 Professional Plus

Office 2021 Professional Plus

Preis: 19,90 EUR

Zum Angebot

Office 2016 Professional

Office 2016 Professional

Preis: 14,90 EUR

Zum Angebot

Windows Server 2022 CALS

Windows Server 2022 CALS

Preis: 99,90 EUR

Zum Angebot

Microsoft Windows Server 2022 Datacenter

Microsoft Windows Server 2022 Datacenter

Preis: 219,00 EUR

Zum Angebot

Windows Server 2019 RDS CALS

Windows Server 2019 RDS CALS

Preis: 93,90 EUR

Zum Angebot

Watchdog Anti-Malware Vollversion

Watchdog Anti-Malware Vollversion

Preis: 25,00 EUR

Zum Angebot

McAfee Total Protection

McAfee Total Protection

Preis: 15,00 EUR

Zum Angebot

Pinnacle Studio 26 (2023) STANDARD Windows / Deutsch

Pinnacle Studio 26 (2023) STANDARD Windows / Deutsch

Preis: 110,00 EUR

Zum Angebot

Windows 11 Pro

Windows 11 Pro

Preis: 14,90 EUR

Zum Angebot

Microsoft Word 2019

Microsoft Word 2019

Preis: 14,90 EUR

Zum Angebot

Norton 360 Deluxe inkl. 25GB MD

Norton 360 Deluxe inkl. 25GB MD

Preis: 25,00 EUR

Zum Angebot

Office 2024 Professional

Office 2024 Professional

Preis: 39,90 EUR

Zum Angebot

Office 2021 Professional Plus + Windows 11 Professional Bundle

Office 2021 Professional Plus + Windows 11 Professional Bundle

Preis: 24,90 EUR

Zum Angebot

Office 2021 Home and Student

Office 2021 Home and Student

Preis: 19,90 EUR

Zum Angebot

Bitdefender Premium VPN

Bitdefender Premium VPN

Preis: 90,00 EUR

Zum Angebot

Microsoft Excel 2021

Microsoft Excel 2021

Preis: 19,90 EUR

Zum Angebot

Windows 10 Home

Windows 10 Home

Preis: 14,90 EUR

Zum Angebot

Microsoft Excel 2019

Microsoft Excel 2019

Preis: 14,90 EUR

Zum Angebot

Office 2024 Home

Office 2024 Home

Preis: 44,90 EUR

Zum Angebot

ESET NOD32 Antivirus

ESET NOD32 Antivirus

Preis: 50,00 EUR

Zum Angebot

Office 2016 Home and Student

Office 2016 Home and Student

Preis: 14,90 EUR

Zum Angebot

Bitdefender Antivirus Plus

Bitdefender Antivirus Plus

Preis: 50,00 EUR

Zum Angebot

Windows Server 2019 CALS

Windows Server 2019 CALS

Preis: 87,90 EUR

Zum Angebot

Windows Server Standard 2022

Windows Server Standard 2022

Preis: 194,90 EUR

Zum Angebot

Office 2019 Professional plus

Office 2019 Professional plus

Preis: 39,90 EUR

Zum Angebot

Office 2024 Professional Plus

Office 2024 Professional Plus

Preis: 29,99 EUR

Zum Angebot

McAfee Internet Security

McAfee Internet Security

Preis: 25,00 EUR

Zum Angebot

Office 2016 Home and Business

Office 2016 Home and Business

Preis: 14,90 EUR

Zum Angebot

AVG TuneUp ESD

AVG TuneUp ESD

Preis: 25,00 EUR

Zum Angebot

Office 2021 Professional

Office 2021 Professional

Preis: 19,90 EUR

Zum Angebot

Office 2019 Professional Plus

Office 2019 Professional Plus

Preis: 14,90 EUR

Zum Angebot

AVG Internet Security

AVG Internet Security

Preis: 25,00 EUR

Zum Angebot

Visio 2016 Professional

Visio 2016 Professional

Preis: 14,90 EUR

Zum Angebot

Adobe Photoshop Elements 2025

Adobe Photoshop Elements 2025

Preis: 190,00 EUR

Zum Angebot

Office 2019 Home and Business

Office 2019 Home and Business

Preis: 19,90 EUR

Zum Angebot

McAfee VPN Safe Connect

McAfee VPN Safe Connect

Preis: 30,00 EUR

Zum Angebot

Windows 11 Home

Windows 11 Home

Preis: 19,90 EUR

Zum Angebot

Office 2019 Home and Student

Office 2019 Home and Student

Preis: 19,90 EUR

Zum Angebot

Panda Dome Complete MD

Panda Dome Complete MD

Preis: 25,00 EUR

Zum Angebot

Windows Server 2016 RDS CALS

Windows Server 2016 RDS CALS

Preis: 64,90 EUR

Zum Angebot

Office 2021 Home and Business

Office 2021 Home and Business

Preis: 24,90 EUR

Zum Angebot

Windows 10/11 Home

Windows 10/11 Home

Preis: 14,90 EUR

Zum Angebot

Windows Server 2016

Windows Server 2016

Preis: 99,90 EUR

Zum Angebot

Panda Dome Advanced MD

Panda Dome Advanced MD

Preis: 15,00 EUR

Zum Angebot

Office 2021 Professional Plus + Windows 11 Professional GRATIS

Office 2021 Professional Plus + Windows 11 Professional GRATIS

Preis: 24,90 EUR

Zum Angebot

Visio 2019 Professional

Visio 2019 Professional

Preis: 14,90 EUR

Zum Angebot

Office 2019 Professional

Office 2019 Professional

Preis: 39,90 EUR

Zum Angebot

Windows 10 Pro

Windows 10 Pro

Preis: 14,90 EUR

Zum Angebot

Windows Server 2022 RDS CALS

Windows Server 2022 RDS CALS

Preis: 109,90 EUR

Zum Angebot

Trend Micro Antivirus + Security

Trend Micro Antivirus + Security

Preis: 20,00 EUR

Zum Angebot

Windows Server 2016 CALS

Windows Server 2016 CALS

Preis: 64,90 EUR

Zum Angebot

Windows 10/11 Pro

Windows 10/11 Pro

Preis: 19,90 EUR

Zum Angebot

Microsoft Office 2021 Standard

Microsoft Office 2021 Standard

Preis: 24,90 EUR

Zum Angebot

CorelCAD 2021 Upgrade Windows/Mac ESD

CorelCAD 2021 Upgrade Windows/Mac ESD

Preis: 180,00 EUR

Zum Angebot

Office 2021 Professional Plus f?r 3 Ger?te

Office 2021 Professional Plus f?r 3 Ger?te

Preis: 23,50 EUR

Zum Angebot

Microsoft Office 2019 Standard

Microsoft Office 2019 Standard

Preis: 19,90 EUR

Zum Angebot

Microsoft Word 2021

Microsoft Word 2021

Preis: 14,90 EUR

Zum Angebot

Adobe Acrobat Standard 2020 OEM

Adobe Acrobat Standard 2020 OEM

Preis: 900,00 EUR

Zum Angebot

mySteganos Online Shield VPN

mySteganos Online Shield VPN

Preis: 55,00 EUR

Zum Angebot

Kaspersky Mobile

Kaspersky Mobile

Preis: 25,00 EUR

Zum Angebot

Avast Premium Security

Avast Premium Security

Preis: 20,00 EUR

Zum Angebot

Microsoft Windows Server 2022

Microsoft Windows Server 2022

Preis: 349,90 EUR

Zum Angebot

Microsoft Powerpoint 2019

Microsoft Powerpoint 2019

Preis: 29,90 EUR

Zum Angebot
>

Warum Keycloak?

KeyCloak bietet mehrere Vorteile gegenüber anderen Identitäts- und Zugriffsmanagementlösungen, die es zu einer attraktiven Wahl machen. Hier sind einige Gründe, warum Sie den Einsatz von KeyCloak in Erwägung ziehen sollten:

Open Source
KeyCloak ist ein Open-Source-Projekt, was bedeutet, dass es kostenlos nutzbar und von einer aktiven Community unterstützt wird. Das gibt Ihnen die Freiheit, die Software nach Ihren Bedürfnissen anzupassen.

Vielseitige Protokollunterstützung
Mit Unterstützung für eine Reihe von Standardprotokollen wie OAuth 2.0, OpenID Connect und SAML 2.0 ist KeyCloak extrem flexibel und lässt sich problemlos in eine Vielzahl von Systemen integrieren.

Einfachheit und Benutzerfreundlichkeit
Die Admin-Oberfläche ist intuitiv und ermöglicht eine schnelle Konfiguration von Realms, Clients und Benutzern. Damit ist es auch für Einsteiger relativ leicht, schnell produktiv zu werden.

Erweiterbarkeit
Dank einer modularen Architektur und einer Vielzahl von Erweiterungspunkten (wie z.B. Custom Authenticators) ist KeyCloak extrem anpassbar.

Single Sign-On (SSO)
KeyCloak bietet Out-of-the-box Unterstützung für Single Sign-On, ein Feature, das Benutzern das Leben leichter und die Zugriffsverwaltung für Administratoren effizienter macht.

Hohe Sicherheitsstandards
KeyCloak bietet viele eingebaute Mechanismen, um die Sicherheit zu gewährleisten, darunter Brute-Force-Schutz, feingranulare Zugriffskontrollen und Zwei-Faktor-Authentifizierung.

Aktive Community und professionelle Unterstützung
Die aktive Community und die Möglichkeit, professionellen Support von Red Hat zu erhalten, machen KeyCloak zu einer Lösung, die sowohl für kleine Projekte als auch für Unternehmensanwendungen gut geeignet ist.

Durch diese und viele weitere Features hebt sich KeyCloak von anderen Lösungen in diesem Bereich ab und bietet eine robuste und gleichzeitig benutzerfreundliche Möglichkeit, die Herausforderungen im Identitäts- und Zugriffsmanagement zu meistern.

Werbung/Advertising

Aromatico

Grundlegende Konzepte

Realms

Realm

Ein Realm in Keycloak dient als Verwaltungseinheit, die alle Konfigurationen und Einstellungen für Authentifizierungsmechanismen, Benutzermanagement, Clients und weitere Sicherheitsaspekte zusammenfasst. Realms ermöglichen die segmentierte Verwaltung verschiedener Projekte oder Abteilungen innerhalb einer Organisation. Jeder Realm kann individuelle Benutzerauthentifizierungsflows, Tokens, Client-Anwendungen und so weiter haben. Man könnte zum Beispiel separate Realms für die Entwicklung, das Testing und die Produktion anlegen, um die Sicherheitseinstellungen entsprechend anzupassen.

Clients

Client

In der Welt von Keycloak ist ein Client jede Anwendung, jedes System oder jeder Dienst, der eine Authentifizierung oder Autorisierung von einem Keycloak-Server erfordert. Um einen Client in Keycloak zu registrieren, navigieren Sie zum Admin-Panel und wählen dort den entsprechenden Realm aus. Dann fügen Sie einen neuen Client hinzu und konfigurieren ihn. Hier müssen Sie eine eindeutige Client-ID vergeben und das passende Protokoll wählen (z.B. OpenID Connect, SAML). Sie können auch weitere Einstellungen wie Redirect-URLs, Zugriffstypen und Scopes konfigurieren. Einmal konfiguriert, erhalten Sie Credentials, die in Ihrer Anwendung verwendet werden können, um die Kommunikation mit Keycloak zu ermöglichen.

Benutzer

User

Benutzer sind die Endanwender, die Zugang zu den Ressourcen und Diensten erhalten sollen, die durch Keycloak geschützt sind. Im Admin-Panel unter dem ausgewählten Realm können Sie Benutzer manuell hinzufügen oder über externe Quellen importieren. Jeder Benutzer hat ein Profil, das verschiedene Attribute wie E-Mail, Username und Passwort enthält.

Gruppen

Group

Sie können Benutzer in Gruppen organisieren, um die Verwaltung zu vereinfachen. Gruppen können hierarchisch strukturiert und mit bestimmten Rollen und Berechtigungen versehen werden.

Werbung/Advertising

<

Panda Dome Essential MD

Panda Dome Essential MD

Preis: 15,00 EUR

Zum Angebot

Office 2021 Professional

Office 2021 Professional

Preis: 19,90 EUR

Zum Angebot

Microsoft Word 2021

Microsoft Word 2021

Preis: 14,90 EUR

Zum Angebot

Panda Dome Advanced MD

Panda Dome Advanced MD

Preis: 15,00 EUR

Zum Angebot

Office 2021 Home and Student

Office 2021 Home and Student

Preis: 19,90 EUR

Zum Angebot

Microsoft Office 2021 Standard

Microsoft Office 2021 Standard

Preis: 24,90 EUR

Zum Angebot

Windows 10/11 Pro

Windows 10/11 Pro

Preis: 19,90 EUR

Zum Angebot

Office 2024 Professional

Office 2024 Professional

Preis: 39,90 EUR

Zum Angebot

Windows Server 2016

Windows Server 2016

Preis: 99,90 EUR

Zum Angebot

Pinnacle Studio 26 (2023) STANDARD Windows / Deutsch

Pinnacle Studio 26 (2023) STANDARD Windows / Deutsch

Preis: 110,00 EUR

Zum Angebot

Bitdefender Premium VPN

Bitdefender Premium VPN

Preis: 90,00 EUR

Zum Angebot

CorelCAD 2021 Upgrade Windows/Mac ESD

CorelCAD 2021 Upgrade Windows/Mac ESD

Preis: 180,00 EUR

Zum Angebot

Office 2016 Professional

Office 2016 Professional

Preis: 14,90 EUR

Zum Angebot

AVG TuneUp ESD

AVG TuneUp ESD

Preis: 25,00 EUR

Zum Angebot

Office 2016 Home and Business

Office 2016 Home and Business

Preis: 14,90 EUR

Zum Angebot

AVG Internet Security

AVG Internet Security

Preis: 25,00 EUR

Zum Angebot

Windows 10 Home

Windows 10 Home

Preis: 14,90 EUR

Zum Angebot

Visio 2016 Professional

Visio 2016 Professional

Preis: 14,90 EUR

Zum Angebot

Microsoft Excel 2021

Microsoft Excel 2021

Preis: 19,90 EUR

Zum Angebot

Windows Server 2022 RDS CALS

Windows Server 2022 RDS CALS

Preis: 109,90 EUR

Zum Angebot

Office 2024 Home

Office 2024 Home

Preis: 44,90 EUR

Zum Angebot

Office 2016 Home and Student

Office 2016 Home and Student

Preis: 14,90 EUR

Zum Angebot

Office 2019 Professional

Office 2019 Professional

Preis: 39,90 EUR

Zum Angebot

ESET NOD32 Antivirus

ESET NOD32 Antivirus

Preis: 50,00 EUR

Zum Angebot

Microsoft Office 2019 Standard

Microsoft Office 2019 Standard

Preis: 19,90 EUR

Zum Angebot

Office 2021 Professional Plus f?r 3 Ger?te

Office 2021 Professional Plus f?r 3 Ger?te

Preis: 23,50 EUR

Zum Angebot

Microsoft Windows Server 2022

Microsoft Windows Server 2022

Preis: 349,90 EUR

Zum Angebot

Windows Server 2016 RDS CALS

Windows Server 2016 RDS CALS

Preis: 64,90 EUR

Zum Angebot

Office 2021 Home and Business

Office 2021 Home and Business

Preis: 24,90 EUR

Zum Angebot

Office 2024 Professional Plus

Office 2024 Professional Plus

Preis: 29,99 EUR

Zum Angebot

Microsoft Word 2019

Microsoft Word 2019

Preis: 14,90 EUR

Zum Angebot

Windows Server 2016 CALS

Windows Server 2016 CALS

Preis: 64,90 EUR

Zum Angebot

Adobe Photoshop Elements 2025

Adobe Photoshop Elements 2025

Preis: 190,00 EUR

Zum Angebot

Office 2019 Home and Student

Office 2019 Home and Student

Preis: 19,90 EUR

Zum Angebot

McAfee VPN Safe Connect

McAfee VPN Safe Connect

Preis: 30,00 EUR

Zum Angebot

Adobe Acrobat Standard 2020 OEM

Adobe Acrobat Standard 2020 OEM

Preis: 900,00 EUR

Zum Angebot

Norton 360 Deluxe inkl. 25GB MD

Norton 360 Deluxe inkl. 25GB MD

Preis: 25,00 EUR

Zum Angebot

Windows Server 2022 CALS

Windows Server 2022 CALS

Preis: 99,90 EUR

Zum Angebot

mySteganos Online Shield VPN

mySteganos Online Shield VPN

Preis: 55,00 EUR

Zum Angebot

Microsoft Windows Server 2022 Datacenter

Microsoft Windows Server 2022 Datacenter

Preis: 219,00 EUR

Zum Angebot

Microsoft Powerpoint 2019

Microsoft Powerpoint 2019

Preis: 29,90 EUR

Zum Angebot

Windows 10 Pro

Windows 10 Pro

Preis: 14,90 EUR

Zum Angebot

Office 2019 Professional Plus

Office 2019 Professional Plus

Preis: 14,90 EUR

Zum Angebot

Office 2019 Professional plus

Office 2019 Professional plus

Preis: 39,90 EUR

Zum Angebot

Visio 2019 Professional

Visio 2019 Professional

Preis: 14,90 EUR

Zum Angebot

Trend Micro Antivirus + Security

Trend Micro Antivirus + Security

Preis: 20,00 EUR

Zum Angebot

Microsoft Word 2016

Microsoft Word 2016

Preis: 14,90 EUR

Zum Angebot

Windows Server Standard 2022

Windows Server Standard 2022

Preis: 194,90 EUR

Zum Angebot

Watchdog Anti-Malware Vollversion

Watchdog Anti-Malware Vollversion

Preis: 25,00 EUR

Zum Angebot

Avast Premium Security

Avast Premium Security

Preis: 20,00 EUR

Zum Angebot

Office 2021 Professional Plus + Windows 11 Professional Bundle

Office 2021 Professional Plus + Windows 11 Professional Bundle

Preis: 24,90 EUR

Zum Angebot

Windows Server 2019 CALS

Windows Server 2019 CALS

Preis: 87,90 EUR

Zum Angebot

McAfee Internet Security

McAfee Internet Security

Preis: 25,00 EUR

Zum Angebot

Windows 11 Home

Windows 11 Home

Preis: 19,90 EUR

Zum Angebot

Office 2021 Professional Plus + Windows 11 Professional GRATIS

Office 2021 Professional Plus + Windows 11 Professional GRATIS

Preis: 24,90 EUR

Zum Angebot

Windows 11 Pro

Windows 11 Pro

Preis: 14,90 EUR

Zum Angebot

Bitdefender Antivirus Plus

Bitdefender Antivirus Plus

Preis: 50,00 EUR

Zum Angebot

Office 2019 Home and Business

Office 2019 Home and Business

Preis: 19,90 EUR

Zum Angebot

Office 2021 Professional Plus

Office 2021 Professional Plus

Preis: 19,90 EUR

Zum Angebot

McAfee Total Protection

McAfee Total Protection

Preis: 15,00 EUR

Zum Angebot

Panda Dome Complete MD

Panda Dome Complete MD

Preis: 25,00 EUR

Zum Angebot

Windows Server 2019 RDS CALS

Windows Server 2019 RDS CALS

Preis: 93,90 EUR

Zum Angebot

Microsoft Excel 2019

Microsoft Excel 2019

Preis: 14,90 EUR

Zum Angebot

AVG Ultimate

AVG Ultimate

Preis: 25,00 EUR

Zum Angebot

Kaspersky Mobile

Kaspersky Mobile

Preis: 25,00 EUR

Zum Angebot

Windows 10/11 Home

Windows 10/11 Home

Preis: 14,90 EUR

Zum Angebot
>

Ausblick

Im nächsten Beitrag widmen wir uns dem praktischen Teil: Installation von Keycloak auf Docker. Docker bietet eine schnelle und effiziente Möglichkeit, Keycloak einzurichten und zu verwalten. Bleiben Sie dran, um zu erfahren, wie Sie Keycloak in einer Docker-Umgebung einrichten können.