dsec Vault Migration: Decisions & Security
Gopass Integration
Note: You currently use gopass (v2/DOMUS/…) for some secrets. Consider:
-
Keep gopass for interactive use - GUI-friendly, git-backed
-
Use Vault for automation - dsec, scripts, CI/CD
-
Sync gopass <→ Vault - Script to keep both in sync
Or migrate gopass to Vault entirely using the same path structure.
Security Considerations
Vault Unseal Keys
-
Store unseal keys in gopass or separate secure location
-
Never store unseal keys in Vault itself
-
Consider auto-unseal with HSM or cloud KMS
Token Management
-
Use short-lived tokens where possible
-
Implement token renewal in dsec CLI
-
Audit token usage regularly