open-nomad/website/pages/docs/commands/operator/keygen.mdx

29 lines
714 B
Plaintext
Raw Normal View History

---
2020-02-06 23:45:31 +00:00
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.
---
2018-03-22 20:39:18 +00:00
# Command: operator keygen
The `operator keygen` command generates an encryption key that can be used for
2020-02-06 23:45:31 +00:00
Nomad server's gossip traffic encryption. The keygen command uses a
cryptographically strong pseudo-random number generator to generate the key.
## Usage
```plaintext
2018-03-22 17:56:06 +00:00
nomad operator keygen
```
## Example
2020-05-18 20:53:06 +00:00
```shell-session
$ nomad operator keygen
YgZOXLMhC7TtZqeghMT8+w==
```