From 43312b4a697d945b1a502b0768d36d37686186f1 Mon Sep 17 00:00:00 2001 From: Tyler Tidman Date: Mon, 7 Mar 2016 15:23:45 -0500 Subject: [PATCH] Update agent encryption doc example --- website/source/docs/agent/encryption.html.markdown | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/website/source/docs/agent/encryption.html.markdown b/website/source/docs/agent/encryption.html.markdown index 36db8ad0a0..a486caafb7 100644 --- a/website/source/docs/agent/encryption.html.markdown +++ b/website/source/docs/agent/encryption.html.markdown @@ -34,18 +34,19 @@ the output of [`consul agent`](/docs/commands/agent.html) will include "Encrypte $ cat encrypt.json {"encrypt": "cg8StVXbQJ0gPvMd9o7yrg=="} -$ consul agent -data=/tmp/consul -config-file encrypt.json +$ consul agent -data-dir=/tmp/consul -config-file encrypt.json +==> WARNING: LAN keyring exists but -encrypt given, using keyring +==> WARNING: WAN keyring exists but -encrypt given, using keyring ==> Starting Consul agent... ==> Starting Consul agent RPC... ==> Consul agent running! Node name: 'Armons-MacBook-Air.local' Datacenter: 'dc1' - Advertise addr: '10.1.10.12' - RPC addr: '127.0.0.1:8400' - HTTP addr: '127.0.0.1:8500' - DNS addr: '127.0.0.1:8600' - Encrypted: true Server: false (bootstrap: false) + Client Addr: 127.0.0.1 (HTTP: 8500, HTTPS: -1, DNS: 8600, RPC: 8400) + Cluster Addr: 10.1.10.12 (LAN: 8301, WAN: 8302) + Gossip encrypt: true, RPC-TLS: false, TLS-Incoming: false + Atlas: ... ```