open-nomad/website/source/docs/commands/operator/keygen.html.md.erb
2018-03-22 13:39:18 -07:00

30 lines
722 B
Plaintext

---
layout: "docs"
page_title: "Commands: operator keygen"
sidebar_current: "docs-commands-operator-keygen"
description: >
The `operator keygen` command generates an encryption key that can be used for Nomad
server's gossip traffic encryption. The keygen command uses a
cryptographically strong pseudo-random number generator to generate the key.
---
# Command: operator keygen
The `operator keygen` command generates an encryption key that can be used for Nomad
server's gossip traffic encryption. The keygen command uses a cryptographically
strong pseudo-random number generator to generate the key.
## Usage
```
nomad operator keygen
```
## Example
```
nomad operator keygen
YgZOXLMhC7TtZqeghMT8+w==
```