d81889bb41
Avoid HTTP redirects for internal site links by updating old URLs to point to the new location for the target content.
18 lines
563 B
Plaintext
18 lines
563 B
Plaintext
---
|
|
layout: commands
|
|
page_title: 'Commands: Keygen'
|
|
description: >-
|
|
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.
|
|
---
|
|
|
|
# Consul Keygen
|
|
|
|
Command: `consul keygen`
|
|
|
|
The `keygen` command generates an encryption key that can be used for
|
|
[Consul agent traffic encryption](/docs/security/encryption).
|
|
The keygen command uses a cryptographically
|
|
strong pseudo-random number generator to generate the key.
|