# Vault-k8s

Vault-k8s is a self-hosted infrastructure app. First-class integrations between Vault and Kubernetes. It is open source and self-hosted, installable on Docker Hub.

Canonical page: https://ourlocalhost.com/app/6044/vault-k8s

## Description

First-class integrations between Vault and Kubernetes.

## Platform availability

Available on 0 of 10 platforms.

## Health score

67/100 (Good), based on 4 of 5 factors.
- Maintained: 84 (last commit 25 days ago)
- Popular: 59 (842 GitHub stars)
- Easy to install: 25 (0 install platforms, install notes, Docker image)
- Security check: 85 (no serious findings, CI, tests, OpenSSF Scorecard 6.3/10)

## Links

- Docker Hub: https://hub.docker.com/r/hashicorp/vault-k8s
- GitHub: https://github.com/hashicorp/vault-k8s

## Common questions

### How should Kubernetes workloads fetch Vault secrets instead of syncing them into Kubernetes secrets?

Avoid syncing Vault secrets to Kubernetes secrets. Use a Vault agent sidecar and a token file so the app pulls the secrets from Vault.

### What Vault Agent configuration mistake can cause an app to start but fail to retrieve credentials?

Pass the correct config file path with -config. If the path is wrong, the app may start but fail to get credentials.

### How can I confirm that the secret paths my application expects are available in Vault?

Run vault secrets list after setup to confirm the mounted secret engines. If a path your app expects is missing, secret lookups and writes will fail.

### How do I keep older KV secret versions for rollback?

Set max versions with vault kv metadata put and -max-versions on the KV path. Without this setting, older values may not be available for rollback.

### Should Vault be run on Kubernetes or a dedicated VM for production?

One user would install Vault on a dedicated VM and operate it with maximum security. Development mode is easy to run, but production needs to be locked down.

---
Source: Our Local Host (https://ourlocalhost.com/app/6044/vault-k8s), the self-hosted and open-source app directory.
