43 lines
925 B
Markdown
43 lines
925 B
Markdown
---
|
|
name: keycloak-hangman-lab
|
|
description: Keycloak operations for hangman-lab.top - manage accounts, email verification, and passwords.
|
|
---
|
|
|
|
> ⚠️ **Note**: All scripts must be executed via the `pcexec` tool.
|
|
|
|
## Keycloak Operations
|
|
|
|
### Create Keycloak Account
|
|
|
|
Create a new Keycloak account.
|
|
|
|
> ⚠️ **Warning**: Do not execute this command unless explicitly requested. If you don't have a Keycloak account, contact **agent-resource-director** or **hangman** to guide you through the process.
|
|
|
|
```bash
|
|
{baseDir}/scripts/kc-ctrl create-keycloak-account
|
|
```
|
|
|
|
### Verify Email
|
|
|
|
Verify user email in Keycloak.
|
|
|
|
```bash
|
|
{baseDir}/scripts/kc-ctrl verify-email
|
|
```
|
|
|
|
### Set User Name
|
|
|
|
Set user firstName and lastName in Keycloak.
|
|
|
|
```bash
|
|
{baseDir}/scripts/kc-ctrl set-name
|
|
```
|
|
|
|
### Reset Password
|
|
|
|
Reset password for the current user (reads username from secret-mgr).
|
|
|
|
```bash
|
|
{baseDir}/scripts/kc-ctrl reset-password
|
|
```
|