vault

Encrypt and manage secrets for AI agents using age and sops.

15|1|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/buildoak/fieldwork-skills --skill vault-buildoak
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vault
Source: https://github.com/buildoak/fieldwork-skills/tree/main/skills/vault
Command: npx skills add https://github.com/buildoak/fieldwork-skills --skill vault-buildoak

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires age, sops, jq, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Encrypt and manage secrets for AI agents.

Core Features & Use Cases

  • Secure storage of API keys, tokens, and credentials using age and sops
  • On-demand decryption for runtime use without exposing plaintext
  • Use Case: integrate with local development workflows to provide secrets to agents when needed

Quick Start

Run the setup script to initialize the vault, then store a secret with vault.sh set and retrieve it with vault.sh get.

Frequently Asked Questions about vault

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I encrypt secrets for AI agents during autonomous runs?

You can encrypt secrets for AI agents using age public-key encryption and sops to securely store API keys and credentials. This enables on-demand decryption for runtime use without exposing plaintext during autonomous agent workflows.

How does on-demand decryption work for local development workflows?

On-demand decryption allows local development workflows to retrieve secrets at runtime using the vault.sh get command. Secrets remain encrypted in YAML files via sops and are only decrypted when needed by the agent, preventing plaintext leakage.

Do I need age and sops installed to manage encrypted credentials?

Yes, you need age for public-key encryption and sops for YAML-encrypted secrets to manage credentials. These dependencies are required to initialize the vault structure and perform secure encryption and decryption operations.

What's the best way to store API keys and tokens for autonomous agent runs?

The best way to store API keys and tokens for autonomous agent runs is using an encrypted vault structure with setup.sh and vault.sh commands. This approach uses age and sops to apply safety checks that prevent plaintext leakage.

Can I use jq with sops to process YAML-encrypted secrets?

Yes, jq is included as a dependency to process YAML-encrypted secrets managed by sops. You can use jq to parse and extract specific decrypted values from the structured secret data during runtime operations.

Why does my AI agent leak plaintext credentials during local development?

Plaintext credential leakage occurs when secrets are stored unencrypted in local development environments. Using a vault with age and sops encrypts secrets at rest and applies safety checks to ensure credentials are only decrypted on demand.