mirror of https://github.com/hashicorp/consul
15 lines
382 B
Markdown
15 lines
382 B
Markdown
---
|
|
layout: "docs"
|
|
page_title: "Commands: Keygen"
|
|
sidebar_current: "docs-commands-keygen"
|
|
---
|
|
|
|
# Consul Keygen
|
|
|
|
Command: `consul keygen`
|
|
|
|
The `consul keygen` command generates an encryption key that can be used for
|
|
[Consul agent traffic encryption](/docs/agent/encryption.html).
|
|
The keygen command uses a cryptographically
|
|
strong pseudo-random number generator to generate the key.
|