open-nomad/website/pages/docs/commands/operator/keygen.mdx
Jeff Escalante 6c8f079d24
new website
2020-02-06 18:45:31 -05:00

29 lines
706 B
Plaintext

---
layout: docs
page_title: 'Commands: operator keygen'
sidebar_title: 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
```plaintext
nomad operator keygen
```
## Example
```shell
$ nomad operator keygen
YgZOXLMhC7TtZqeghMT8+w==
```