Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

keycloak-administration

БесплатноБез исполняемых скриптовНе проверен

Provides comprehensive KeyCloak administration guidance including realm management, user/group administration, client configuration, authentication flows…

DauQuangThanhот DauQuangThanh★ 18 звёзд на GitHub17 установок в других каталогах

Об этом скилле

KeyCloak Administration

Overview

Provides systematic KeyCloak administration guidance covering installation, configuration, realm management, security hardening, and operational best practices. Supports both standalone and clustered deployments for secure, scalable identity and access management (IAM) solutions.

Quick Start Guide

Choose your task and load the appropriate reference:

  1. New Installation → Continue to Installation & Setup
  2. Realm & User Management → Load realm-management.md
  3. Client Configuration → Load client-configuration.md
  4. Authentication & SSO → Load authentication-sso.md
  5. Authorization & RBAC → Load authorization-rbac.md
  6. User Federation (LDAP/AD) → Load user-federation.md
  7. Security Hardening → Load security-hardening.md
  8. High Availability & Scaling → Load ha-scalability.md
  9. Troubleshooting → Load troubleshooting.md
  10. Integration Examples → Load integration-examples.md

Installation & Setup

Deployment Options

1. Standalone Mode (Development/Testing)

# Download and start KeyCloak
wget https://github.com/keycloak/keycloak/releases/download/[VERSION]/keycloak-[VERSION].tar.gz
tar -xvzf keycloak-[VERSION].tar.gz
cd keycloak-[VERSION]
bin/kc.sh start-dev

# Access: http://localhost:8080
# Create initial admin user on first access

2. Production Mode with Database

# Configure and build
bin/kc.sh build --db=postgres

# Set environment variables
export KC_DB=postgres
export KC_DB_URL=jdbc:postgresql://localhost/keycloak
export KC_DB_USERNAME=keycloak
export KC_DB_PASSWORD=password
export KC_HOSTNAME=keycloak.example.com

# Start production mode
bin/kc.sh start --optimized

3. Docker Deployment

docker run -d \
  --name keycloak \
  -p 8080:8080 \
  -e KEYCLOAK_ADMIN=admin \
  -e KEYCLOAK_ADMIN_PASSWORD=admin \
  quay.io/keycloak/keycloak:latest \
  start-dev

4. Kubernetes - Use KeyCloak Operator or Helm charts

Initial Configuration Steps

  1. Admin Account: Create on first access with strong password (12+ chars)
  2. Hostname: Configure KC_HOSTNAME for production
  3. SSL/TLS: Set up certificates (required for production)
  4. Database: Configure PostgreSQL connection
  5. Email: Configure SMTP for notifications
# Email settings
KC_SMTP_HOST=smtp.example.com
KC_SMTP_PORT=587
[email protected]
KC_SMTP_STARTTLS=true

Core Concepts

Realms

  • Master realm: Administrative realm (don't use for apps)
  • Application realms: Separate realms per app/environment
  • Create: Admin Console → Create Realm

Users & Groups

  • Users: Individual accounts with credentials
  • Groups: Organize users hierarchically
  • Attributes: Custom key-value pairs
  • Federation: Sync from LDAP/AD (see user-federation.md)

Clients

  • OIDC clients: Modern OAuth 2.0/OIDC applications
  • SAML clients: Legacy enterprise applications
  • Types: Confidential (server-side) or Public (SPA/mobile)
  • Details: See client-configuration.md

Roles & Permissions

  • Realm roles: Global across all clients
  • Client roles: Specific to one client
  • Composite roles: Inherit multiple roles
  • Details: See authorization-rbac.md

Common Tasks

Configure SSO for Applications

  1. Create OIDC client for your application

  2. Set redirect URIs (exact URLs, no wildcards)

  3. Configure client type:

    • Confidential: Server-side apps (need client secret)
    • Public: SPAs/mobile apps (use PKCE)
  4. Obtain configuration from realm endpoint:

    https://keycloak.example.com/realms/{realm}/.well-known/openid-configuration
    
  5. Integrate with your app (see integration-examples.md)

Enable Multi-Factor Authentication

  1. Authentication → Flows
  2. Duplicate Browser flow
  3. Add OTP or WebAuthn authenticator
  4. Set as Required or Conditional
  5. Bind to realm
  6. Users configure MFA on next login

Details: See authentication-sso.md

Connect to LDAP/Active Directory

  1. User Federation → Add LDAP Provider
  2. Configure connection (URL, bind DN, credentials)
  3. Set search base: ou=users,dc=example,dc=com
  4. Configure mappers for attributes
  5. Test connection and sync users

Details: See user-federation.md

Secure Production Deployment

Essential security measures:

  • SSL/TLS: Required for all production traffic
  • Password policy: 12+ chars, complexity requir
Полный SKILL.md на GitHub

Установить keycloak-administration в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/authentication-sso.mdreferences/authorization-rbac.mdreferences/client-configuration.mdreferences/ha-scalability.mdreferences/integration-examples.mdreferences/realm-management.mdreferences/security-hardening.mdreferences/troubleshooting.mdreferences/user-federation.md

FAQ

Что делает скилл keycloak-administration?

Provides comprehensive KeyCloak administration guidance including realm management, user/group administration, client configuration, authentication flows, identity brokering, authorization policies, security hardening, and troubleshooting. Covers SSO configuration, SAML/OIDC setup, role-based access control (RBAC), user federation (LDAP/AD), social login integration, multi-factor authentication (MFA), and high availability deployments. Use when configuring KeyCloak, setting up SSO, managing realms and clients, troubleshooting authentication issues, implementing RBAC, or when users mention "KeyCloak", "SSO", "OIDC", "SAML", "identity provider", "IAM", "authentication flow", "user federation", "realm configuration", or "access management".

Как установить скилл keycloak-administration?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл keycloak-administration запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить keycloak-administration с