github.com/outbrain/consul@v1.4.5/website/source/docs/commands/keygen.html.md (about) 1 --- 2 layout: "docs" 3 page_title: "Commands: Keygen" 4 sidebar_current: "docs-commands-keygen" 5 description: |- 6 The `keygen` command generates an encryption key that can be used for Consul agent traffic encryption. The keygen command uses a cryptographically strong pseudo-random number generator to generate the key. 7 8 --- 9 10 # Consul Keygen 11 12 Command: `consul keygen` 13 14 The `keygen` command generates an encryption key that can be used for 15 [Consul agent traffic encryption](/docs/agent/encryption.html). 16 The keygen command uses a cryptographically 17 strong pseudo-random number generator to generate the key.