diff --git a/docs/06-data-encryption-keys.md b/docs/06-data-encryption-keys.md index 233bce2..f44eed9 100644 --- a/docs/06-data-encryption-keys.md +++ b/docs/06-data-encryption-keys.md @@ -9,7 +9,7 @@ In this lab you will generate an encryption key and an [encryption config](https Generate an encryption key: ``` -ENCRYPTION_KEY=$(head -c 32 /dev/urandom | base64) +$ ENCRYPTION_KEY=$(head -c 32 /dev/urandom | base64) ``` ## The Encryption Config File @@ -17,7 +17,7 @@ ENCRYPTION_KEY=$(head -c 32 /dev/urandom | base64) Create the `encryption-config.yaml` encryption config file: ``` -cat > encryption-config.yaml < encryption-config.yaml < +$ for num in 1 2 3; do + scp -i ~/.ssh/id_rsa-k8s.pub encryption-config.yaml ${USERNAME}@10.240.0.1${num}:~/ done ```