Skip to content
Skillpedia
Deploy & cloud (DevOps)8.6k · #12400

vault-user

What it does

This skill shows how to use the local HashiCorp Vault that an OpenRig environment runs. It is for developers who need to store or read secrets during local work.

When to use it

  • ✓When you need to check whether the local Vault is healthy.
  • ✓When you want to write, read, list or delete a secret in Vault.
  • ✓When you need to explain what secrets are stored and where.

Skill link

https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/apps/vault-specialist/skills/vault-user/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/mvschwarz/openrig/blob/main/packages/daemon/specs/agents/apps/vault-specialist/skills/vault-user/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Check that the local Vault is healthy, then store the database password under the app's path.”

5 new skills a week. 1 minute to read.

How it works

It makes simple API calls to the local Vault address with its access header, showing how to check health and manage secret paths.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Vault User

You have access to a HashiCorp Vault instance managed by this rig's environment.

Connection

  • Address: http://127.0.0.1:8200
  • Token: openrig-dev-token
  • Auth header: X-Vault-Token: openrig-dev-token

Always set the token before making API calls. For curl, use -H "X-Vault-Token: openrig-dev-token".

Health Check

curl -s http://127.0.0.1:8200/v1/sys/health | jq .

A healthy response has "initialized": true and "sealed": false.

Secret Operations

Write a secret

curl -s -X POST http://127.0.0.1:8200/v1/secret/data/<path> \
  -H "X-Vault-Token: openrig-dev-token" \
  -d '{"data": {"key": "value"}}' | jq .

Read a secret

curl -s http://127.0.0.1:8200/v1/secret/data/<path> \
  -H "X-Vault-Token: openrig-dev-token" | jq .

The secret value is in .data.data.

List secrets

curl -s -X LIST http://127.0.0.1:8200/v1/secret/metadata/ \
  -H "X-Vault-Token: openrig-dev-token" | jq .

List a subdirectory by appending the path: .../secret/metadata/<prefix>/.

Delete a secret

curl -s -X DELETE http://127.0.0.1:8200/v1/secret/data/<path> \
  -H "X-Vault-Token: openrig-dev-token"

Explaining Secrets

When asked to explain the current secret structure, list all paths and summarize what each contains. Use the list endpoint recursively if needed.

Important Notes

  • This is Vault dev mode — all data is in-memory and lost on restart
  • The KV secrets engine is mounted at secret/ by default in dev mode
  • Use the rig env status command to verify Vault health through OpenRig before direct probing
FAQ

Where does Vault run?

The skill says it runs at the local address 127.0.0.1 on port 8200.

How do I know the Vault is healthy?

A healthy response shows it is initialized and not sealed.

Where is the secret value in a read?

The value sits inside a nested data field in the response.

Details

Original description by the author

Use when checking the health of this rig's HashiCorp Vault or writing, reading, listing, deleting or explaining its secrets.

repo: mvschwarz/openrig

Popularity

GitHub stars
8.6k
Ranking position
#12400
License
Apache-2.0
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills