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 @@ -411,30 +411,10 @@ To switch from a local encryption provider to the `kms` provider and re-encrypt
411411 kubectl get secrets --all-namespaces -o json | kubectl replace -f -
412412 ` ` `
413413
414- # # Disabling encryption at rest
414+ # # {{% heading "whatsnext" %}}
415415
416- To disable encryption at rest :
416+ <!-- preserve legacy hyperlinks -->
417+ <a id="disabling-encryption-at-rest" />
417418
418- 1. Place the `identity` provider as the first entry in the configuration file :
419-
420- ` ` ` yaml
421- apiVersion: apiserver.config.k8s.io/v1
422- kind: EncryptionConfiguration
423- resources:
424- - resources:
425- - secrets
426- providers:
427- - identity: {}
428- - kms:
429- apiVersion: v2
430- name : myKmsPlugin
431- endpoint: unix:///tmp/socketfile.sock
432- ` ` `
433-
434- 1. Restart all `kube-apiserver` processes.
435-
436- 1. Run the following command to force all secrets to be decrypted.
437-
438- ` ` ` shell
439- kubectl get secrets --all-namespaces -o json | kubectl replace -f -
440- ` ` `
419+ If you no longer want to use encryption for data persisted in the Kubernetes API, read
420+ [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