vault
Skill15 starsChanged 42 days agoMITView on GitHub
Expert HashiCorp Vault assistance covering secret engines, dynamic secrets, transit encryption, and AppRole auth. Use when managing secrets, rotating database credentials, or securing cloud infrastructure.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- kriscard/Skillstheir own version, first seen Oct 28, 2026
- Seth090502/osanwe-publictheir own version, first seen Oct 20, 2026
- crsmithdev/alephtheir own version, first seen Oct 15, 2026
- abevz/devops-skillstheir own version, first seen Oct 15, 2026
- joelhooks/joelclawtheir own version, first seen Oct 8, 2026
- TeamHelix-AI/helixtheir own version, first seen Sep 12, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- joelhooks/joelclaw★ 65same name
- kriscard/Skills★ 15same name
- AnYejun/blind-vault★ 12same name
- burakolgun/vault-anything★ 4same name
- magnusrodseth/dotfiles★ 3same name
- M1hairu/skills★ 2same name
- TeamHelix-AI/helix★ 1same name
- yiyaw-lab/agent-armor★ 1same name
- abevz/devops-skills★ 0same name
- crsmithdev/aleph★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository350 other files it gives its agents.
- airflowSkill
- catboostSkill
- claudeSkill
- comfyuiSkill
- cursor-aiSkill
- dalleSkill
- daskSkill
- dbtSkill
- deepseekSkill
- fastaiSkill
- geminiSkill
- github-copilotSkill
- huggingfaceSkill
- jaxSkill
- jupyterSkill
- kerasSkill
- langchainSkill
- lightgbmSkill
- llamaindexSkill
- llamaSkill
- matplotlibSkill
- midjourneySkill
- mistralSkill
- mlflowSkill
- nltkSkill
- numpySkill
- ollamaSkill
- openai-gptSkill
- opencvSkill
- pandasSkill
- perplexitySkill
- plotlySkill
- polarsSkill
- pytorchSkill
- raySkill
- scikit-learnSkill
- seabornSkill
- spacySkill
- sparkSkill
- stable-diffusionSkill
- tensorflowSkill
- vaexSkill
- weights-biasesSkill
- whisperSkill
- xgboostSkill
- api-gatewaySkill
- clean-architectureSkill
- cqrsSkill
- domain-driven-designSkill
- event-drivenSkill
- event-sourcingSkill
- graphqlSkill
- grpcSkill
- hexagonalSkill
- microservicesSkill
- modular-monolithSkill
- monolithSkill
- rest-apiSkill
- sagaSkill
- serverlessSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 104
Use Dynamic Database Credentials: Never share static database passwords across services.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
HashiCorp Vault
Vault is a tool for securely accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, or certificates. Vault provides a unified interface to any secret while providing tight access control and recording a detailed audit log.
When to Use
- Centralized Secrets Management: Securely storing and accessing API keys, database credentials, certificates, and encryption keys.
- Dynamic On-Demand Credentials: Generating short-lived, unique database credentials that expire automatically after task completion.
- Data Encryption as a Service (Transit Engine): Encrypting sensitive data in transit and at rest without exposing cryptographic keys to applications.
- PKI & Certificate Authority Automation: Issuing short-lived X.509 certificates for microservices and internal domains.
Quick Start
vault server -dev
export VAULT_ADDR='http://127.0.0.1:8200'
# Write a secret
vault kv put secret/hello foo=world
# Read a secret
vault kv get secret/helloCore Concepts
Secret Engines & Path-Based Access
Vault organizes capabilities under hierarchical mount paths:
secret/data/my-app/config -> Key-Value (KV v2) persistent secrets
database/creds/readonly-user -> Dynamic on-demand temporary database roles
transit/encrypt/customer-pii -> Encryption-as-a-Service without key export
pki/issue/internal-domain -> Dynamic TLS certificate generationDynamic Database Credential Generation
Vault connects to PostgreSQL/MySQL and creates unique users on the fly with automatic lease expiration:
# Application requests temporary credentials
vault read database/creds/readonly-role
# Output:
# lease_id: database/creds/readonly-role/h712398
# lease_duration: 1h
# username: v-token-readonly-1727420400
# password: A1b2C3d4E5f6G7h8Application Authentication via Kubernetes Auth
Applications running in Kubernetes authenticate using their native ServiceAccount tokens:
import vault from "node-vault";
import fs from "fs";
const jwt = fs.readFileSync(
"/var/run/secrets/kubernetes.io/serviceaccount/token",
"utf8",
);
const client = vault({ endpoint: "https://vault.internal.corp:8200" });
const result = await client.kubernetesLogin({
role: "billing-service-role",
jwt: jwt,
});
// Read secret using authenticated client token
client.token = result.auth.client_token;
const secret = await client.read("secret/data/billing/api-keys");
console.log("Stripe Secret:", secret.data.data.STRIPE_KEY);Common Patterns
Dynamic PostgreSQL Database Credential Generation
Problem: Long-lived, shared database passwords hardcoded in application config leak over time.
Solution: Request short-lived dynamic credentials with automatic TTL revocation:
# Read dynamic database credentials with 1-hour lease
vault read database/creds/readonly-app
# Key-Value v2 secret read with JSON output
vault kv get -format=json secret/data/payments/stripe | jq '.data.data.api_key'Best Practices
Do:
- Use Dynamic Database Credentials: Never share static database passwords across services; let Vault issue short-lived credentials.
- Authenticate via Cloud / Platform Identity: Use Kubernetes Auth, AWS IAM Auth, or Azure Managed Identity instead of static root tokens.
- Enable Transit Secret Engine for Sensitive PII: Offload encryption and key rotation to Vault; keep private keys out of application memory.
- Automate Lease Renewal: Ensure background tasks renew long-running leases or re-authenticate prior to token expiration.
Don't:
- Store the Vault Root Token: Revoke the root token immediately after initial setup and cluster unsealing.
- Disable TLS on the Vault API: Never communicate with Vault over unencrypted HTTP.
- Grant broad wildcard policies: Follow least privilege; grant read access only to specific secret paths needed by each microservice.
Troubleshooting
| Error | Cause | Solution |
Error: Vault is sealed | Vault restarted or initialized without unsealing keys. | Run vault operator unseal with threshold Shamir key shards or use auto-unseal. |
permission denied (403) | Token or AppRole policy lacks read permission on specific path. | Inspect associated HCL policy and ensure path "secret/data/*" { capabilities = ["read"] } is granted. |
token expired and cannot be renewed | Lease duration reached maximum TTL limit. | Re-authenticate client AppRole to obtain a fresh token. |
References
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

