kubernetes-vault | Use Vault to store secrets for Kubernetes | Identity Management library
kandi X-RAY | kubernetes-vault Summary
kandi X-RAY | kubernetes-vault Summary
The Kubernetes-Vault project allows pods to automatically receive a Vault token using Vault's AppRole auth backend.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of kubernetes-vault
kubernetes-vault Key Features
kubernetes-vault Examples and Code Snippets
Community Discussions
Trending Discussions on kubernetes-vault
QUESTION
In the diagram on the kubernetes-vault
repo, you can see that the init container takes the wrapped secret_id
and the unwraps and redeems the secret_id
for a token via Vault. Why doesn't the kubernetes-vault
controller do this unwrapping and redemption itself and simply transmit the token to the init container?
https://github.com/Boostport/kubernetes-vault/raw/master/flow-diagram.png
...ANSWER
Answered 2017-Nov-21 at 03:08Note: The kubernetes-vault project is an open-source project maintained by my company.
The reason the init container unwraps the secret is 2 fold:
Only the init container and the pod it is in is able to see the final secret. That means that the kubernetes-vault controller does not know what the token is and is not able to use it for malicious purposes if compromised.
If a someone intercepts the wrapped token and unwraps it, the init container would not be able to unwrap the token and this is a good signal that cluster has been compromised. If the unwrapped token is sent to the init container, it can be intercepted and it would not be possible to alert on this.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install kubernetes-vault
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page