view-secret

Decrypt and view .age secret files using a specified path.

8|1|Updated Oct 21, 2015
One-click install
npx skills add https://github.com/iamruinous/nix-config --skill view-secret
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: view-secret
Source: https://github.com/iamruinous/nix-config/tree/main/.opencode/skills/view-secret
Command: npx skills add https://github.com/iamruinous/nix-config --skill view-secret

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Decrypt and securely view the contents of encrypted .age secret files when needed, without exposing plaintext data more than necessary.

Core Features & Use Cases

  • Secret decryption: decrypt .age encrypted files to reveal their content for a quick review.
  • Access control: ensures secrets are accessed in a controlled, auditable way using agenix and agenix-helper.
  • Use Case: When auditing host configurations, securely peek at environment values stored in age-encrypted files.

Quick Start

Run the view-secret operation to reveal the contents of a chosen .age secret file.

Frequently Asked Questions about view-secret

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

FAQPage Schema
How do I securely view the contents of age-encrypted secret files?

You can securely view age-encrypted files by running a decrypt operation with agenix and agenix-helper. This reveals plaintext contents for quick review without exposing sensitive data longer than necessary.

What is the best way to audit environment values stored in .age files?

Auditing environment values in .age files is best handled through on-demand decryption. This securely reveals secret contents during host configuration reviews without permanently decrypting them on disk.

Do I need agenix to decrypt .age secret files for a quick review?

Yes, you need agenix and agenix-helper to decrypt .age secret files. These dependencies provide the controlled authorization framework required to securely view encrypted contents.

Can I use on-demand secret access across multiple hosts and environments?

Yes, on-demand secret access works across hosts and environments. By specifying a secret_path parameter, you can securely view encrypted files wherever controlled authorization is required.

How does controlled authorization work when accessing age-encrypted secrets?

Controlled authorization for age-encrypted secrets works by using agenix and agenix-helper to manage decryption. This ensures that viewing secret files remains an auditable action rather than granting unrestricted access.

Why decrypt secrets on demand instead of keeping them in plaintext?

Decrypting secrets on demand minimizes exposure by revealing plaintext only when needed. This prevents sensitive data from sitting unencrypted on the host, reducing the risk of unauthorized access during audits.