---
title: "Vault"
description: "1 posts about Vault, summarised, each linking to the original."
---

# Vault
> 1 posts about Vault, summarised, each linking to the original.

## Articles

### [Petsem: Sometimes Dead Is Better](https://yomu.fyi/post/petsem-sometimes-dead-is-better.md)
- Company: [Fly.io](https://yomu.fyi/company/fly-io.md)
- Published: Nov 20, 2026
- Type: Problem & solution

Fly.io replaced HashiCorp Vault with a custom secrets manager called Petsem to address performance and reliability issues at scale. Vault’s Raft-based cluster required low-latency connections, causing a p99 of 10 seconds for app secrets reads during boot and a hard dependency on the IAD region. Petsem uses a write master in IAD with read replicas across regions, dropping p99 from 10 seconds to 300ms. It enforces scoped access via macaroons: a worker must present its credential and a third-party discharge token verifying it hosts that app. Petsem also supports Fly KMS for encrypt, decrypt, sign, and verify operations that never expose the secret to the app.
