KMS provider
An encryption provider for Kubernetes Secrets at rest that keeps the key in an external key management service instead of in the configuration file.
In more detail
With the aescbc, aesgcm or secretbox providers the key sits in the EncryptionConfiguration file, so anyone who reads that file can decrypt the data. A KMS provider sends a small key to an external KMS plugin to be wrapped, so the main key never sits on the control plane disk. It is the recommended choice for production clusters.
Example
providers:
- kms:
apiVersion: v2
name: vaultRelated terms
- EncryptionConfiguration — The API server configuration file that decides how resources such as Secrets are encrypted before being written to etcd.
- KMS — A service that creates, stores and controls cryptographic keys and performs operations with them, so applications never handle the raw key.
Taught in
- Encryption At Rest: What etcd Really Holds — Certified Kubernetes Security Specialist (CKS) Exam Prep