Secret Versioning
Every secret update creates a new version. View history, compare changes, and rollback — per secret, not per file.
How It Works
Every time you update a secret with mp set, the previous encrypted value is saved to a version history table. MeowPass keeps the last 10 versions per secret.
View History
Rollback
Restore any previous version. Rollback creates a new version (it doesn't destructively rewind):
After rollback, the secret is at v5 with the same value as v2. The full history is preserved.
Drift Detection
Compare your local .env with the vault to catch drift before it causes issues:
Use --exit-on-drift in CI to fail builds when drift is detected.
Key Rotation
Rotate the vault encryption key and re-encrypt all secrets in one command. Client-side only — zero-knowledge maintained.
Rotation pulls all secrets, decrypts with the old key, generates a new vault key, re-encrypts everything, and pushes. The server never sees plaintext.
Secret TTL
Set temporary secrets that auto-expire:
Expired secrets are automatically deleted when accessed. Supports any Go duration format: 30m, 24h, 168h (7 days).