Skip to content

Commit 119a085

Browse files
authored
Merge pull request #44086 from sftim/20231125_link_to_decrypt_task
Link to existing task about decrypting at rest
2 parents 8f678bb + 1f082c2 commit 119a085

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

0 commit comments

Comments
 (0)