website: update docs, CLI flag no longer available

This commit is contained in:
Armon Dadgar 2014-05-07 15:11:56 -07:00
parent 556d342163
commit 3d527e174a

View File

@ -14,12 +14,10 @@ seperate systems, one for gossip traffic and one for RPC.
## Gossip Encryption
Enabling gossip encryption only requires that you set an encryption key when
starting the Consul agent. The key can be set using the `-encrypt` flag
on `consul agent` or by setting the `encrypt` parameter in a configuration file.
It is advisable to put the key in a configuration file to avoid other users
from being able to discover it by inspecting running processes.
The key must be 16-bytes that are base64 encoded. The easiest method to
obtain a cryptographically suitable key is by using `consul keygen`.
starting the Consul agent. The key can be set by setting the `encrypt` parameter
in a configuration file for the agent. The key must be 16-bytes that are base64
encoded. The easiest method to obtain a cryptographically suitable key is by
using `consul keygen`.
```
$ consul keygen