rekey-secrets

Community

Safely re-encrypt secrets after key changes.

Authoriamruinous
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Re-encrypt all secrets after modifying .age files or when host keys change. The manual process is error-prone and risks secret visibility if keys drift across hosts.

Core Features & Use Cases

  • Rekey all secrets across hosts defined in secrets.nix to ensure consistent encryption state after key rotations or .age file updates.
  • Enable onboarding of new hosts with correctly encrypted secrets and rekeying workflow.
  • Integrate with agenix and agenix-helper to unlock, rekey, and lock secrets securely.

Quick Start

Run a full rekey of all secrets after updating any .age files to ensure encryption integrity.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: rekey-secrets
Download link: https://github.com/iamruinous/nix-config/archive/main.zip#rekey-secrets

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.