Kubernetes does not encrypt API resource data in etcd at rest by default. To protect Secret objects, configure the API server with an EncryptionConfiguration that puts an encryption provider first for secrets, then rewrite existing Secrets and verify both their stored representation and API readability. This protects Kubernetes API data in etcd; it does not encrypt filesystems mounted into containers.
What Kubernetes Secret encryption at rest covers
An EncryptionConfiguration tells the API server which providers to use when it stores selected API resources. With a suitable provider configured for secrets, new Secret writes are encrypted before storage in etcd. This is an additional security layer, not a replacement for encrypting etcd disks or the control-plane hosts.
The setting applies to Kubernetes API resource data. It does not encrypt a volume’s filesystem or data written by an application inside a mounted volume. For this procedure, confirm that your concern is Secret objects held in the Kubernetes API store.
Check the cluster and current encryption configuration
Before changing the API server, identify the Kubernetes release, control-plane deployment, etcd version, and API resources that need protection. The documented procedure assumes kube-apiserver static Pods and etcd v3.x. Kubernetes documentation says custom-resource encryption requires Kubernetes v1.26 or later, while wildcard resource matching requires v1.27 or later. Match the instructions to your cluster release and deployment rather than applying static-Pod steps blindly. See Kubernetes: Encrypting Confidential Data at Rest.
#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
- Check whether kube-apiserver is configured with
--encryption-provider-config. - Inspect the configuration entry for
secretsand note the provider order. - Check every control-plane API server: they need compatible configuration and access to the keys required to decrypt stored data.
The first provider listed is used to encrypt new writes. If identity is first, new Secret objects are stored as plaintext. Kubernetes documents that “The identity provider does not encrypt stored data and provides no additional confidentiality protection.” An identity provider later in the list can serve as a temporary plaintext-read fallback during migration, but any plaintext objects left behind will depend on it.
If you are investigating existing encrypted data or considering decryption, consult the release-matched guidance for decrypting confidential data already encrypted at rest before changing providers or removing keys.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
Choose where encryption keys live
The key arrangement defines which compromises this control can mitigate. A local key in the API server’s configuration can protect against someone who obtains etcd data alone. It does not protect against an attacker who can read that configuration on a compromised control-plane host. Kubernetes cautions that “Storing the raw encryption key in the EncryptionConfig only moderately improves your security posture, compared to no encryption.”
| Approach | Key custody and protection boundary | Operational considerations |
|---|---|---|
| Local key in EncryptionConfiguration | The key is on control-plane hosts in the API server configuration. It can protect an etcd-only compromise, but not an attacker able to read the file on a control-plane host. | Generate a strong random key, restrict file access to the API-server process owner, and securely distribute the configuration to all control-plane hosts. Protect and back up keys securely. |
| External KMS envelope encryption | Secret data is encrypted using a data-encryption key; a KMS key-encryption key protects that data key and can remain outside the cluster. | Protect API-server-to-KMS communication in transit, such as with TLS, and tightly control credentials and KMS access. The API server’s ability to read encrypted resources depends on the external service being reachable and authorized. |
KMS is not a way to eliminate key-management work: it shifts some custody and availability responsibilities to the service and its access controls. Kubernetes recommends KMS v2 where feasible. Its documentation says KMS v2 has significantly better performance characteristics than KMS v1; that is a qualitative comparison, not a performance guarantee for a particular cluster.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
Version compatibility matters: Kubernetes documentation says KMS v1 has been deprecated since v1.28 and is disabled by default from v1.29; KMS v2 became stable in v1.29. Verify exact prerequisites and behavior for your cluster release in Using a KMS provider for data encryption. The choice between local keys and KMS depends on your threat model, release, operations, and ability to maintain the KMS dependency.
Configure the API server to encrypt new Secrets
Create an EncryptionConfiguration for the secrets resource using a supported encryption provider. Put that provider first in the list. Do not put identity first if new Secret writes must be encrypted. Use the version-matched Kubernetes instructions to supply the configuration file to kube-apiserver, including on every control-plane host. Do not copy sample encryption keys from documentation into production.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Provider-specific configuration differs, so use the complete examples and API-server setup in the Kubernetes encryption-at-rest instructions or the KMS provider instructions. Ensure each API server can access the configured key or KMS before directing traffic to it; otherwise reads or writes may fail depending on the provider and stored data.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Verify encryption, then migrate existing Secrets
Enabling encryption changes how the API server writes data; it does not rewrite Secrets already stored in etcd. Use a newly created test Secret to validate the configuration first.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
- Create a test Secret through the Kubernetes API.
- Inspect its etcd representation using the documented procedure. Confirm the value has the encryption prefix associated with the configured provider and key.
- Use
kubectl get secretto confirm the API can still return that Secret. A ciphertext prefix without a successful API read is not a complete verification. - Once new writes are verified, rewrite existing Secrets so their stored forms are encrypted. Kubernetes documents a get-and-replace pipeline across namespaces; for large clusters, process namespaces or scripted batches and retry write conflicts as directed in the official instructions.
- Check representative objects in etcd and through the API after migration. Do not remove a plaintext fallback until all relevant objects have been rewritten and validated.
Use the commands and access method documented for your etcd and cluster setup in Kubernetes’ encryption procedure; access to etcd is deployment-specific. Avoid exposing Secret values or encryption keys in shell history, logs, or shared terminals while carrying out the migration.
Rotate keys without losing access to stored objects
Rotation is a staged migration, not simply replacing a key in the configuration. The API server must retain decryption access to every key that may protect an object already in etcd. Keep the old key available until the rewrite is complete and verified.
- Add the new key while retaining the old key in the configuration, so API servers can decrypt data protected by either key.
- Roll out the updated configuration consistently to all API servers and verify that they can still read existing Secrets.
- Make the new key’s provider entry first for encryption of new writes.
- Rewrite all relevant existing Secrets, then verify their etcd representations and confirm the API can return them.
- Securely back up the new key and validate the backup and access controls.
- Only after confirming that no stored objects depend on the old key, remove it from the decryption configuration.
If an API server lacks a key needed for a stored object, reads can fail. Losing every copy of a required key can make affected resources inaccessible and may force their deletion. Kubernetes discusses storage-version implications in its Storage Versions documentation; retain keys and coordinate configuration changes across API servers accordingly.
Before removing plaintext fallback or old keys
- Confirm the encryption provider, not
identity, is first for new Secret writes. - Confirm every control-plane API server has the current configuration and can decrypt the data it may encounter.
- Confirm existing Secrets were rewritten and their encrypted etcd representation was checked.
- Confirm the API can still return the migrated Secrets.
- Confirm required keys are securely backed up and that no remaining object depends on a key you plan to remove.
Removing identity prevents the API server from reading resources that remain in plaintext. Removing an old encryption key prevents it from decrypting objects still protected by that key. Treat both changes as the final step after coverage has been established, not as cleanup to perform immediately after enabling encryption.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Further Kubernetes security guidance
At-rest encryption is one part of cluster protection. For the broader control set, see Kubernetes’ guidance on Securing a Cluster.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

