Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

17 lines
563 B

---
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.