Search

PythonReactSEOPDF
GitHub Skill

credentials-manager

Manage Nix access tokens and secrets using sops-nix. Automates the configuration of secure token access and provides safe wrappers for editing secrets.

ccycle☆ 0 Repository stars0 Repository forks

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

View source ↗Guides

Skill instructions

Credentials Manager

This skill helps you manage secrets and access tokens in the dotfiles, following the security policies defined in references/policy.md.

Features

1. Edit Secrets

Safely edit secrets.yaml files using the sops wrapper.

agent-skills/credentials-manager/scripts/edit-secrets.sh <path/to/secrets.yaml>
2. Configure Nix Access Tokens

Generate the necessary Nix configuration to securely inject access tokens (e.g., GitHub PAT) into /etc/nix/nix-access-tokens-work.conf.

agent-skills/credentials-manager/scripts/setup-token.sh <token_variable_name>

Example:

agent-skills/credentials-manager/scripts/setup-token.sh github_pat_work

This will output the sops.templates and nix.extraOptions configuration to be added to your darwin.nix.

Policies

  • Separate Files: Work credentials must be stored in separate files (e.g., nix-access-tokens-work.conf) to avoid conflicts.
  • Sops Encryption: All secrets must be encrypted using sops.
  • Reference: See references/policy.md for the detailed security policy.

Examples

Read the usage examples in the source repository.

View source ↗

Source history

Indexed on
2026-01-20
Index updated
2026-01-26
Branch
main

Index and sync dates describe this directory. View the source repository for code history.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!