From 98cd5108a382cb6cf9fda054bd61ff95ba33bb9c Mon Sep 17 00:00:00 2001 From: divya-mohan0209 Date: Mon, 11 Apr 2022 11:33:37 +0530 Subject: [PATCH] Amending Encryption Configuration Section --- content/rancher/v2.6/en/backups/examples/_index.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/rancher/v2.6/en/backups/examples/_index.md b/content/rancher/v2.6/en/backups/examples/_index.md index 87c607b7780..38aa7964541 100644 --- a/content/rancher/v2.6/en/backups/examples/_index.md +++ b/content/rancher/v2.6/en/backups/examples/_index.md @@ -272,6 +272,13 @@ data: # Example EncryptionConfiguration +The snippet below demonstrates two different types of secrets and their relevance with respect to Backup and Restore of custom resources.s + +The first example is that of a secret that is used to encrypt the backup files. The backup operator, in this case, will not be able to read the secrets encryption file. It only uses the contents of the secret. + +The second example is that of a Kubernetes secrets encryption config file that is used to encrypt secrets when stored in etcd. It is important to note that while backing up your etcd config ensure you also backup your EncryptionConfiguration. Failing to do so might result in you not being able to use the restored data. + + ```yaml apiVersion: apiserver.config.k8s.io/v1 kind: EncryptionConfiguration