hashimiche/hal/ldap
Claude Code and agent skill by hashimiche/hal
- community
Checking that the SKILL.md file is still in the repository.
Deploy, verify, and troubleshoot the Vault LDAP auth plus LDAP secrets engine lab in hal. Use when the user asks for LDAP login, directory-backed auth, dynamic/static/library LDAP secrets, or LDAP lab reset.
Install
npx vskill@latest install hashimiche/hal/ldapSKILL.md
The same SKILL.md was published earlier as hashimiche/hal/ldap.
Hal Vault LDAP Configurator
This skill covers the OpenLDAP + phpLDAPadmin + Vault LDAP auth/secrets workflow implemented by hal vault ldap.
Lab Assumptions
- Vault runs locally at
http://vault.localhost:8200 - Root token defaults to
root - OpenLDAP container is
hal-openldap - phpLDAPadmin UI is
https://phpldapadmin.localhost:8082 - Prefer
halfor lifecycle andvault read/writefor day-2 checks
What The Command Actually Sets Up
- OpenLDAP: seeded users, groups, and service accounts
- phpLDAPadmin UI for directory inspection
- Vault auth mount:
ldap/ - Vault KV mount:
kv-ldap/ - Vault LDAP secrets engine mount:
ldap/ - Policies:
ldap-admin,ldap-reader - LDAP secrets examples:
- dynamic role:
ldap/role/dynamic-reader - static role:
ldap/static-role/static-app - library:
ldap/library/dev-pool - Root bind account rotation via
ldap/rotate-root
Workflow
Step 1: Choose the lifecycle action
Use smart status mode if needed:
hal vault ldap
Then run one of these:
hal vault ldap enable hal vault ldap --update hal vault ldap disable
Step 2: Verify Vault and directory state
If Vault MCP is available, inspect:
auth/ldap/configauth/ldap/groups/adminauth/ldap/groups/readerldap/configldap/role/dynamic-readerldap/static-role/static-appldap/library/dev-pool
If MCP is unavailable, use:
export VAULT_ADDR='http://vault.localhost:8200' export VAULT_TOKEN='root'
vault read auth/ldap/config vault read ldap/config vault read ldap/role/dynamic-reader vault read ldap/static-role/static-app vault read ldap/library/dev-pool
Step 3: Present structured results
Tier 1 - Success Summary Confirm LDAP auth and LDAP secrets are both configured.
Tier 2 - Configuration Details Table
| Component | Value | Description | |
|---|---|---|---|
| Auth Mount | auth/ldap/ | Human login against OpenLDAP | |
| Secrets Mount | ldap/ | LDAP secrets engine | |
| Dynamic Role | dynamic-reader | Short-lived generated user | |
| Static Role | static-app | Rotated static service account | |
| Library | dev-pool | Check-out/check-in pooled credentials |
Tier 3 - Actionable Testing Commands
vault login -method=ldap username=bob password=password vault read ldap/creds/dynamic-reader vault read ldap/static-cred/static-app vault write -f ldap/library/dev-pool/check-out
Edge Cases
- If Vault is offline, instruct the user to deploy Vault first.
- If LDAP teardown is blocked, use
hal vault ldap --updateso Vault lease and mount cleanup runs before container removal. - If user expects phpLDAPadmin admin password to remain static, explain root credentials are intentionally rotated once the LDAP secrets engine is configured.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinginternal/skills/data/vault/ldap/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hashimiche/hal/ldap)