Skip to the content.

Kubernetes - Secrets đŸ•ĩī¸

Description 👀

Secrets are used to store sensitive information such as passwords, API keys, and ssh keys. Secrets are stored in the cluster as base64 encoded strings. Secrets can be create using the kubectl command or using a Secret definition.


Secrets are not encrypted, so it is not safer in that sense. However, some best practices around using secrets make it safer. As in best practices like:


Read about the protections and risks of using secrets here.


Basic Commands 📝


Examples 🧩


↩ī¸