Secrets Infrastructure
Overview
Centralized secrets management infrastructure for home enterprise and personal use. Combines multiple tools for different use cases.
Primary Documentation: domus-secrets-ops (secrets-infrastructure)
Architecture
Tools
| Tool | Purpose | Storage |
|---|---|---|
gopass |
Password manager (CLI) |
Git-encrypted (age) |
HashiCorp Vault |
PKI, dynamic secrets, API-driven |
Local storage on vault-01 |
dsec / dsource |
Wrapper scripts for credential loading |
Sources from gopass |
Credential Flow
gopass (encrypted git repo)
│
├── ADMINISTRATIO/ # Server credentials
├── D000/DEV/ # Development secrets
│ ├── NETWORK # netapi credentials
│ └── VAULT # Vault unseal keys + token
└── PERSONAL/ # Personal accounts
│
▼
dsource d000 dev/network # Load into environment
│
▼
$ISE_HOST, $ISE_USER, $ISE_PASS, etc.
│
▼
netapi ise ... # Use credentials
Components
gopass
Password manager with Git backend and age encryption.
Repository: ~/.local/share/gopass/stores/root
Key Structure:
gopass/
├── ADMINISTRATIO/
│ └── servers/
│ └── home-dc01/
│ ├── Administrator
│ ├── dsrm
│ └── meta
├── D000/
│ └── DEV/
│ ├── NETWORK # ISE, WLC, pfSense creds
│ └── VAULT # Vault unseal keys
└── PERSONAL/
└── ...
Common Commands:
# List all entries
gopass ls
# Show password
gopass show ADMINISTRATIO/servers/home-dc01/Administrator
# Copy to clipboard
gopass show -c ADMINISTRATIO/servers/home-dc01/Administrator
# Generate new password
gopass generate ADMINISTRATIO/servers/home-dc01/Administrator 32
# Insert with heredoc
gopass insert ADMINISTRATIO/servers/home-dc01/meta << 'EOF'
hostname: home-dc01
ip: 10.50.1.50
EOF
Security Model
Related Projects
-
DC & Vault PKI Migration - Uses Vault for PKI
-
Linux EAP-TLS - Uses dsource for credential loading