Home / Companies / HashiCorp / Blog / Post Details
Content Deep Dive

Refresh Secrets for Kubernetes Applications with Vault Agent

Blog post from HashiCorp

Post Details
Company
Date Published
Author
Rosemary Wang
Word Count
2,428
Company Posts That Month
19
Language
English
Hacker News Points
-
Post removed?
No
Summary

A Kubernetes application can use Vault Agent to update secrets when they change, without having to refactor its code. The application's database username and password can be retrieved from a PostgreSQL secrets engine in Vault, and the credentials are cached by Vault Agent for faster retrieval. When the secret changes, Vault Agent sends a termination signal to the application, which shuts down and gets rescheduled by Kubernetes. If the application supports live reload, Vault Agent can send an HTTP POST request to the application's /actuator/refresh endpoint, which triggers the live reload of configuration without disrupting the web server. The refresh mechanism allows for secure access to individual actuator endpoints.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Secrets Management 111 517 72 38 +76%
Kubernetes 9 987 146 53 -7%
Observability 1 640 175 63 -11%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.