Make Kubernetes more secure with HashiCorp Vault

2/8/19, 3:00 PM - 2/8/19, 3:45 PM
  • Cloud-Native Microservice Security HashiCorp Vault
Workshop Room 020

Björn Wenzel, Schenker AG


Kubernetes is the defacto standard for container solutions, firms like VMWare1 or IBM2 are currently acquiring companies or startups that are trying to develop their business around Kubernetes.

But Kubernetes is not only modern and cool, it is also a component, that must be secured to prevent attacks and unauthorized access. Companies like Tesla learned on a hard way, that sometimes this will fail.3

More security does not mean to make Kubernetes completely secure, therefore I think many time must be spend in the Security. But tools like HashiCorp Vault can help here to secure some parts of Kubernetes.

With few steps for example you are able to secure your Kubernetes access with Vaults PKI mountpoint. Then you generate short living certificates to access your cluster, in case of an attack on your computer the user gets only a certificate that has expired and gives him no more access to Kubernetes.

Another feature is to secure the generation of certificates for the nodes by HashiCorp Vault. Therefore, HashiCorp Vault brings a secure authentication endpoint for the main Cloud Providers like AWS, Azure etc. Now new starting instances can generate their own certificates and in case on an attack to a node the certificates can be revoked.

But also, if you have secrets that should be accessible by applications running as containers in a Kubernetes cluster you maybe want to have a secure way to store and access them. HashiCorp Vault here can also help with secure ServiceAccount-based authentication and custom opensource tools like Vault-CRD.4


Björn's Bio:

Björn is part of a DevOps team at Schenker AG and responsible for the development and maintenance of some Kubernetes clusters. Since 2 years we are migrating applications from some of our own datacenters into the AWS cloud. And 90% of them are migrated also to Kubernetes. 

Björn is writing a small blog5 about his experience with Kubernetes and DevOps.

1 b01225b1bc9e