2016-10-17 17:48:04 +00:00
|
|
|
---
|
|
|
|
layout: "docs"
|
2018-03-22 17:56:06 +00:00
|
|
|
page_title: "Commands: operator keygen"
|
|
|
|
sidebar_current: "docs-commands-operator-keygen"
|
2016-10-17 17:48:04 +00:00
|
|
|
description: >
|
2018-03-22 17:56:06 +00:00
|
|
|
The `operator keygen` command generates an encryption key that can be used for Nomad
|
2016-10-17 17:48:04 +00:00
|
|
|
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
|
2016-10-17 17:48:04 +00:00
|
|
|
|
2018-03-22 17:56:06 +00:00
|
|
|
The `operator keygen` command generates an encryption key that can be used for Nomad
|
2016-10-17 17:48:04 +00:00
|
|
|
server's gossip traffic encryption. The keygen command uses a cryptographically
|
|
|
|
strong pseudo-random number generator to generate the key.
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```
|
2018-03-22 17:56:06 +00:00
|
|
|
nomad operator keygen
|
2016-10-17 17:48:04 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
## Example
|
|
|
|
|
|
|
|
```
|
2018-03-22 17:56:06 +00:00
|
|
|
nomad operator keygen
|
2016-10-17 17:48:04 +00:00
|
|
|
YgZOXLMhC7TtZqeghMT8+w==
|
|
|
|
```
|
|
|
|
|