File tree Expand file tree Collapse file tree 1 file changed +5
-25
lines changed
content/en/docs/tasks/administer-cluster Expand file tree Collapse file tree 1 file changed +5
-25
lines changed Original file line number Diff line number Diff line change @@ -447,30 +447,10 @@ To switch from a local encryption provider to the `kms` provider and re-encrypt
447
447
kubectl get secrets --all-namespaces -o json | kubectl replace -f -
448
448
` ` `
449
449
450
- # # Disabling encryption at rest
450
+ # # {{% heading "whatsnext" %}}
451
451
452
- To disable encryption at rest :
452
+ <!-- preserve legacy hyperlinks -->
453
+ <a id="disabling-encryption-at-rest" />
453
454
454
- 1. Place the `identity` provider as the first entry in the configuration file :
455
-
456
- ` ` ` yaml
457
- apiVersion: apiserver.config.k8s.io/v1
458
- kind: EncryptionConfiguration
459
- resources:
460
- - resources:
461
- - secrets
462
- providers:
463
- - identity: {}
464
- - kms:
465
- apiVersion: v2
466
- name : myKmsPlugin
467
- endpoint: unix:///tmp/socketfile.sock
468
- ` ` `
469
-
470
- 1. Restart all `kube-apiserver` processes.
471
-
472
- 1. Run the following command to force all secrets to be decrypted.
473
-
474
- ` ` ` shell
475
- kubectl get secrets --all-namespaces -o json | kubectl replace -f -
476
- ` ` `
455
+ If you no longer want to use encryption for data persisted in the Kubernetes API, read
456
+ [decrypt data that are already stored at rest](/docs/tasks/administer-cluster/decrypt-data/).
You can’t perform that action at this time.
0 commit comments