/dev/urandom
The Linux device that returns cryptographically secure random bytes, used to create keys.
In more detail
Reading it never blocks, and on modern kernels its output is suitable for generating keys. A 32-byte key for aescbc in an EncryptionConfiguration should come from it, for example head -c 32 /dev/urandom | base64.
Related terms
- EncryptionConfiguration — The API server configuration file that decides how resources such as Secrets are encrypted before being written to etcd.
- AES — The Advanced Encryption Standard: the widely used symmetric encryption algorithm standardised by NIST.
Taught in
- Encryption At Rest: What etcd Really Holds — Certified Kubernetes Security Specialist (CKS) Exam Prep
- Securing the Kubernetes Control Plane & Node Components — Cloud Security & DevSecOps Engineering
- What Changed Last Night? Integrity, Scans, Benchmarks And Secure Deletion — CompTIA Linux+ (XK0-006) Exam Prep