sops

Encrypt and decrypt YAML, JSON, ENV, and INI secrets with SOPS.

1|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/nq-rdl/agent-extensions --skill sops-nq-rdl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sops
Source: https://github.com/nq-rdl/agent-extensions/tree/main/skills/sops
Command: npx skills add https://github.com/nq-rdl/agent-extensions --skill sops-nq-rdl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Encrypting and decrypting secrets across project files (YAML, JSON, ENV, INI, and binary data) to keep configurations secure while maintaining readable diffs, with flexible backends.

Core Features & Use Cases

  • Encrypts and decrypts common config files using SOPS with Age or Vault transit backends.
  • Supports per-path rules via .sops.yaml and in-place editing, key rotation, and multiple recipients.
  • Ideal for protecting Git-tracked configs, CI/CD secrets, and shared infrastructure secrets across teams.

Quick Start

Install the SOPS CLI, configure an Age or Vault transit key, and begin encrypting your secret files.

Frequently Asked Questions about sops

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

FAQPage Schema
How do I encrypt secrets in YAML and JSON config files for Git?

You can encrypt secrets in YAML, JSON, ENV, and INI config files for Git using SOPS with Age or Vault backends. It maintains readable diffs while keeping configurations secure through per-file encryption rules declared in a .sops.yaml file.

Does SOPS work with Age and Vault transit backends for config encryption?

Yes, SOPS supports both Age and Vault transit backends for config encryption. These backends allow you to securely manage multiple recipients, perform key rotation, and execute in-place editing of your encrypted files.

What is the best way to manage CI/CD secrets across teams?

The best way to manage shared CI/CD and infrastructure secrets across teams is encrypting them directly in config files with SOPS. It allows per-path encryption rules via .sops.yaml, enabling secure Git-tracked configurations without exposing plaintext.

Do I need a .sops.yaml file to set up per-file encryption rules?

Yes, you need a .sops.yaml file to declare per-path encryption rules when using SOPS. This file defines which files get encrypted and specifies the Age or Vault transit backend keys required for the encryption and decryption processes.

Can I rotate encryption keys and edit encrypted files in place?

Yes, SOPS allows you to rotate encryption keys and edit encrypted files in place. This ensures that when keys are compromised or updated, you can re-encrypt your secrets with new keys across all specified configuration files.

Why use SOPS instead of full file encryption for Git-tracked configs?

Use SOPS instead of full file encryption because it encrypts only the secret values in YAML, JSON, and other files, leaving keys and structure in plaintext. This approach maintains readable Git diffs and prevents accidental plaintext secret exposure.