Skip to main content

Bearer authentication

Vault requires an Authorization: Bearer <token> header on Encrypt, Decrypt, and ReEncrypt RPCs. The token must match bearer_token from the service config. Missing or invalid tokens return Unauthenticated. Liveness does not require authentication. The token is compared using constant-time equality to avoid timing leaks.

Token rotation

Vault does not manage token rotation. You must update the token in AWS Secrets Manager and roll the deployment. Runtime callers that embed the bearer token: