aspire
Orchestrates Aspire distributed applications using the Aspire CLI for running, debugging, and managing distributed apps. USE FOR: aspire start, aspire stop,…
Keycloak identity and access management (IAM) administration guidance — realm management, client configuration, authentication flows, authorization policies, security hardening, and troubleshooting. Use when configuring Keycloak, setting up SSO, managing realms/clients,
$ npx -y skills add NikiforovAll/keycloak-authorization-services-dotnet --skill keycloak-administration --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/keycloak-administrationContext preview
The summary Claude sees to decide when to auto-load this skill.
Keycloak identity and access management (IAM) administration guidance — realm management, client configuration, authentication flows, authorization policies, security hardening, and troubleshooting. Use when configuring Keycloak, setting up SSO, managing realms/clients,
name: keycloak-administration description: >- Keycloak identity and access management (IAM) administration guidance — realm management, client configuration, authentication flows, authorization policies, security hardening, and troubleshooting. Use when configuring Keycloak, setting up SSO, managing realms/clients, troubleshooting authentication issues, or implementing RBAC. Trigger phrases include "Keycloak", "SSO", "OIDC", "SAML", "identity provider", "IAM", "realm", "access management". user-invocable: true
Choose your task and load the appropriate reference:
1. **New Installation** → Continue below 2. **Realm & User Management** → Load [realm-management.md](references/realm-management.md) 3. **Client Configuration** → Load [client-configuration.md](references/client-configuration.md) 4. **Authentication & SSO** → Load [authentication-sso.md](references/authentication-sso.md) 5. **Authorization & RBAC** → Load [authorization-rbac.md](references/authorization-rbac.md) 6. **User Federation (LDAP/AD)** → Load [user-federation.md](references/user-federation.md) 7. **Security Hardening** → Load [security-hardening.md](references/security-hardening.md) 8. **High Availability & Scaling** → Load [ha-scalability.md](references/ha-scalability.md) 9. **Troubleshooting** → Load [troubleshooting.md](references/troubleshooting.md) 10. **Integration Examples** → Load [integration-examples.md](references/integration-examples.md)
docker run -d \ --name keycloak \ -p 8080:8080 \ -e KEYCLOAK_ADMIN=admin \ -e KEYCLOAK_ADMIN_PASSWORD=admin \ quay.io/keycloak/keycloak:latest \ start-dev
bin/kc.sh build --db=postgres 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 bin/kc.sh start --optimized
1. **Admin account** — strong password (12+ chars) 2. **Hostname** — configure `KC_HOSTNAME` for production 3. **SSL/TLS** — required for production 4. **Database** — PostgreSQL recommended 5. **SMTP** — for email verification and password reset
| Concept | Description | |---------|-------------| | **Realm** | Tenant boundary. Master realm for admin only; create app realms per environment | | **Client** | Application registration. OIDC (modern) or SAML (legacy). Confidential (server) or Public (SPA/mobile) | | **User/Group** | Identity with credentials. Groups for hierarchical organization | | **Realm Role** | Global permission across all clients in a realm | | **Client Role** | Permission scoped to a single client | | **Composite Role** | Role that inherits other roles |
1. Create OIDC client with your app's `client-id` 2. Set **Valid Redirect URIs** (exact URLs, avoid wildcards) 3. Set **Client Authentication**: On (confidential) or Off (public with PKCE) 4. Get discovery endpoint: `{AuthServerUrl}/realms/{realm}/.well-known/openid-configuration` 5. Integrate with your app — see [client-configuration.md](references/client-configuration.md)
1. Authentication → Flows → Duplicate Browser flow 2. Add OTP or WebAuthn authenticator 3. Set as Required or Conditional 4. Bind custom flow to realm
1. User Federation → Add LDAP Provider 2. Configure: URL, Bind DN, Search Base (`ou=users,dc=example,dc=com`) 3. Set up attribute mappers 4. Test connection, then sync
# Admin CLI setup bin/kcadm.sh config credentials --server http://localhost:8080 --realm master --user admin # Realm operations bin/kcadm.sh create realms -s realm=my-realm -s enabled=true bin/kcadm.sh get realms/my-realm # User operations bin/kcadm.sh create users -r my-realm -s username=john -s enabled=true bin/kcadm.sh set-password -r my-realm --username john --new-password secret # Export/Import bin/kc.sh export --dir /backup --realm my-realm bin/kc.sh import --dir /backup
🔐 Easy Authentication and Authorization with Keycloak in .NET.
Orchestrates Aspire distributed applications using the Aspire CLI for running, debugging, and managing distributed apps. USE FOR: aspire start, aspire stop,…
Implementation guide for Keycloak.AuthServices .NET library — authentication (JWT Bearer, OIDC, RFC 8414), authorization (RBAC, resource protection,…