mirror of https://github.com/hashicorp/consul
Update agent encryption doc example
parent
e944b18d8b
commit
43312b4a69
|
@ -34,18 +34,19 @@ the output of [`consul agent`](/docs/commands/agent.html) will include "Encrypte
|
||||||
$ cat encrypt.json
|
$ cat encrypt.json
|
||||||
{"encrypt": "cg8StVXbQJ0gPvMd9o7yrg=="}
|
{"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...
|
||||||
==> Starting Consul agent RPC...
|
==> Starting Consul agent RPC...
|
||||||
==> Consul agent running!
|
==> Consul agent running!
|
||||||
Node name: 'Armons-MacBook-Air.local'
|
Node name: 'Armons-MacBook-Air.local'
|
||||||
Datacenter: 'dc1'
|
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)
|
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: <disabled>
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue