Secrets Management

Operational patterns for managing secrets across the domus infrastructure: gopass, Vault, age encryption, SSH certificates, TOTP, and hardware tokens.

Topics

Topic Description

age

File encryption for dotfiles, configs, and git-tracked secrets

gopass

Password store operations — read, write, search, mount, audit

Vault

HashiCorp Vault — KV secrets, PKI, SSH CA, seal operations

Credential Management

Credential architecture, rotation workflows, dsec CLI

Certificates

Certificate inspection, chain verification, Vault issuance

PKI

CA hierarchy, Vault PKI engine, CSR workflow, revocation

GPG

Key management, encryption, signing, git integration

SSH Keys

Key generation, agent management, Vault-signed certificates

X.509

Certificate structure, field inspection, key matching

PKCS

PKCS#12 bundles, PKCS#7 chains, PKCS#11 hardware tokens

TOTP

Time-based one-time passwords via gopass and oathtool

Keychain

Keyring, SSH agent, GPG agent, systemd credentials

YubiKey

FIDO2, PIV smart card, OATH TOTP, OpenPGP on hardware

  • Security Codex — broader security tools (firewalls, SIEM, IDS, forensics)

  • gopass Codex — deep-dive gopass patterns (mounts, history, OTP, audit tool)