From c95b88e5624b5666a718f66c08859de2fa086b83 Mon Sep 17 00:00:00 2001 From: Jerome Petazzoni Date: Sat, 3 Dec 2016 10:28:20 -0800 Subject: [PATCH] Secrets management and data encryption --- docs/index.html | 273 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 273 insertions(+) diff --git a/docs/index.html b/docs/index.html index 9cc1a273..62597a6b 100644 --- a/docs/index.html +++ b/docs/index.html @@ -35,6 +35,7 @@ .small { font-size: 70%; } .big { font-size: 140%; } .underline { text-decoration: underline; } + .strike { text-decoration: line-through; } .pic { vertical-align: middle; text-align: center; @@ -185,6 +186,7 @@ grep '^# ' index.html | grep -v 'you can block the compromised node with `docker node demote` and `docker node rm`. + +--- + +## Unlocking the cluster permanently + +- If you want to remove the secret key, disable auto-lock + +.exercise[ + +- Revert to a non-encrypted cluster: + ```bash + docker swarm update --autolock=false + ``` + +] + +Note: if some nodes are in locked state at that moment, you will need the previous unlock key to get them back online. + +--- + # Centralized logging - We want to send all our container logs to a central place