Kubernetes • 4 min How to create and set up Kubernetes (k8s) secrets? A Kubernetes secret is a resource for safely storing small chunks of data such as ssl certificate and keys, database passwords or ssh keys.