Docker Blog Series Part 4 – Managing Secrets inside Kubernetes Cluster in Azure Container Service
This post is the next in a series of Docker posts from Premier Developer consultant Monu Bambroo. In this post, Monu walks through setting up a Web API to leverage Kubernetes for managing secrets.
One of the common tasks in application development is to manage configurations. Some of the configurations can be sensitive information. One of the features of Kubernetes is secret management. There are many approaches to retrieve secrets from the secret management store. In this blog post, I will show you how to manage a sample secret using environment variables in a Web Api. We will do this in two steps. First step is to create the Kubernetes secrets. Second step is to leverage Kubernetes secrets in a Web Api. This blog assumes a successful deployment of a Kubernetes cluster in ACS. If you have not done this already, please follow the below link to deploy one. https://docs.microsoft.com/en-us/azure/container-service/kubernetes/container-service-kubernetes-walkthrough
Let’s get started.
Continue reading on Monu’s blog here.