From 140a910fed903082cce9f9afebaa5a146bd48dec Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Tue, 15 Jul 2014 09:50:39 -0700 Subject: [PATCH] website: remove old docs on the -encrypt flag --- website/source/docs/agent/encryption.html.markdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/website/source/docs/agent/encryption.html.markdown b/website/source/docs/agent/encryption.html.markdown index 174a2aab4e..5671628b8b 100644 --- a/website/source/docs/agent/encryption.html.markdown +++ b/website/source/docs/agent/encryption.html.markdown @@ -28,7 +28,10 @@ With that key, you can enable encryption on the agent. You can verify encryption is enabled because the output will include "Encrypted: true". ``` -$ consul agent -data=/tmp/consul -encrypt=cg8StVXbQJ0gPvMd9o7yrg== +$ cat encrypt.json +{"encrypt": "cg8StVXbQJ0gPvMd9o7yrg=="} + +$ consul agent -data=/tmp/consul -config-file encrypt.json ==> Starting Consul agent... ==> Starting Consul agent RPC... ==> Consul agent running!