vault/website/content/docs/agent-and-proxy/proxy/caching/persistent-caches/kubernetes.mdx
Sarah Chavis 33578a5eef
[DOCS] SEO updates for Vault Proxy (#28974)
* Update Vault Agent docs

* Update left-hand nav

* tweak caching titles

* tweak deprecation/warning

* SEO update for Vault Proxy docs

* Update website/content/docs/agent-and-proxy/agent/caching/persistent-caches/index.mdx

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>

* Update website/content/docs/agent-and-proxy/agent/caching/persistent-caches/kubernetes.mdx

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>

* Update website/content/docs/agent-and-proxy/agent/winsvc.mdx

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>

* Update website/content/docs/agent-and-proxy/proxy/caching/persistent-caches/kubernetes.mdx

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>

---------

Co-authored-by: Yoko Hyakuna <yoko@hashicorp.com>
2024-11-21 12:17:10 -08:00

24 lines
1.0 KiB
Plaintext

---
layout: docs
page_title: Use Kubernetes persistent cache - Vault Proxy
description: >-
Configure Vault Proxy to use Kubernetes for persistent cache.
---
# Use Kubernetes persistent cache
When `kubernetes` is configured for the persistent cache type, Vault Proxy will optimize the
persistent cache specifically for Kubernetes. This type of persistent cache requires a Kubernetes
service account token. The service account token is used during encryption and decryption of the
persistent cache as an additional integrity check.
The Vault Proxy persistent cache file in Kubernetes should only be used for handing off Vault tokens
and leases between initialization and sidecar Vault Proxy containers. This cache file should be shared
using a memory volume between the Vault Proxy containers.
## Configuration
- `service_account_token_file` `(string: optional)` - When type is set to `kubernetes`,
this configures the path on disk where the Kubernetes service account token can be found.
Defaults to `/var/run/secrets/kubernetes.io/serviceaccount/token`.