skill-manage-agenix

Manage encrypted secrets with agenix across multiple hosts using Nix.

14|3|Updated Jul 23, 2023
One-click install
npx skills add https://github.com/codgician/serenitea-pot --skill skill-manage-agenix
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: skill-manage-agenix
Source: https://github.com/codgician/serenitea-pot/tree/main/.opencode/skills/skill-manage-agenix
Command: npx skills add https://github.com/codgician/serenitea-pot --skill skill-manage-agenix

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Add, edit, rotate, or manage encrypted secrets across your systems using agenix, ensuring sensitive data stays protected.

Core Features & Use Cases

  • Load fact-secrets for access groups and patterns to determine who can access each secret.
  • Add new encrypted secrets, rotate existing ones, and re-encrypt data without exposing plaintext.
  • Bind secrets to consuming services via Nix modules and enforce correct ownership, group, and permissions.

Quick Start

Encrypt and register a new secret with agenix by following the steps in this guide.

Frequently Asked Questions about skill-manage-agenix

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

FAQPage Schema
How do I manage encrypted secrets across multiple Nix hosts?

You can manage encrypted secrets across multiple Nix hosts by using agenix to add, rotate, or modify secret values. It enforces safety rules and uses public keys to control per-host access.

How does agenix handle secret encryption for different hosts?

Agenix handles secret encryption by using public keys to determine per-host access groups and patterns. This ensures that only authorized hosts can decrypt and access specific secret values.

How do I bind agenix secrets to consuming services in Nix modules?

You bind agenix secrets to consuming services by integrating with Nix module secrets registration. This enforces correct file ownership, group assignments, and permissions for the decrypted data.

Can I rotate existing encrypted secrets without exposing plaintext?

Yes, you can rotate existing encrypted secrets without exposing plaintext. Agenix allows you to add new encrypted secrets and re-encrypt data safely while modifying secret values.

Does this approach to secret management enforce correct file permissions?

Yes, this secret management approach enforces correct file permissions. It integrates with Nix module secrets registration to enforce proper ownership, group, and permissions for your services.

What are the limitations of using agenix for secret management?

Agenix is specifically designed for Nix environments and requires managing public keys for per-host access. Users must follow its enforced safety rules when adding, rotating, or modifying secret values across systems.