Skip to main content

zen-lock in Zen Mesh

Zero-knowledge secret management — built into Zen Mesh.

zen-lock is the secret management layer that ships with every Zen Mesh installation. It ensures that enrollment credentials, HMAC keys, and mTLS certificates are never stored in plaintext — not in your cluster's etcd, not in Git, not anywhere persistent.

As a Zen Mesh customer, you don't interact with zen-lock directly. It works automatically during enrollment and delivery. But understanding it helps you trust the security model.

What zen-lock Does

OperationWho Triggers ItWhat Happens
EnrollmentDashboard → agentAge-encrypted bundle stored as ciphertext CRD
Certificate issuanceAgent ↔ control planemTLS certs injected ephemerally into egress pods
HMAC key storageControl plane → agentDelivery signing keys stored in zen-lock CRDs
Secret rotationAutomaticCerts and keys auto-rotate on schedule

Key Properties

  • Zero-knowledge: Only ciphertext is stored. Your Kubernetes API server cannot read the secrets.
  • Ephemeral: Decrypted secrets exist only as temporary K8s Secrets, cleaned up when pods terminate.
  • GitOps-safe: Encrypted CRDs can be committed to Git without exposing plaintext.
  • Automatic: No manual key management. Enrollment handles everything.

See Also