Skip to content

Commit 1f082c2

Browse files
author
Tim Bannister
committed
Link to existing task about decrypting at rest
1 parent 47c026a commit 1f082c2

File tree

1 file changed

+5
-25
lines changed

1 file changed

+5
-25
lines changed

content/en/docs/tasks/administer-cluster/kms-provider.md

Lines changed: 5 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -447,30 +447,10 @@ To switch from a local encryption provider to the `kms` provider and re-encrypt
447447
kubectl get secrets --all-namespaces -o json | kubectl replace -f -
448448
```
449449

450-
## Disabling encryption at rest
450+
## {{% heading "whatsnext" %}}
451451

452-
To disable encryption at rest:
452+
<!-- preserve legacy hyperlinks -->
453+
<a id="disabling-encryption-at-rest" />
453454

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/).

0 commit comments

Comments
 (0)