Skip to content

Planning RedDB vault credential rotation

Understand the vault certificate, separate credential rotation from certificate changes, and test recovery before making operational changes.

On this page

Separate the credentials

A database deployment can contain several different credentials: application passwords and API keys, the certificate used to open the RedDB vault, and any infrastructure-managed encryption keys. Rotating one does not automatically rotate the others. Inventory each credential, its owner, the systems that use it and its recovery procedure.

The RedDB vault operator reference describes the in-file vault, bootstrap certificate and limitations. Read the reference for the exact release you run; do not treat a design discussion as an executable rotation procedure.

Protect the vault certificate

The operator reference describes a certificate used to unseal the vault and warns that losing it can make the database unrecoverable except from an earlier logical backup. Store it separately from the database and from application credentials, restrict access, and test the complete recovery procedure in an isolated environment before relying on it.

The vault protects its documented auth and secret data; it is not a blanket claim that every application-data page is encrypted. Follow the engine reference and your infrastructure’s encryption and access controls for the rest of the deployment.

Rotate application credentials deliberately

For each application credential, identify clients and deployments that use it, prepare replacement access, update clients and verify they can reconnect. Revoke old access only after your own checks pass. The exact commands, overlap behavior and rollback depend on the authentication mechanism and deployed release; test them before changing a live system.

Do not assume a zero-downtime certificate rotation

This article does not establish a tested, online vault-certificate rotation command or guarantee uninterrupted access. Do not run PostgreSQL functions, change vault storage directly, or discard an existing certificate on the strength of a blog example. Follow the operator documentation for your version, rehearse changes and restore on a disposable copy, and schedule a maintenance window if the procedure requires one.

Get the next dispatch.

New essays on multi-model storage, RAG, agents, security. No spam.

No spam. Unsubscribe anytime.