github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/website/content/docs/commands/operator/gossip/keyring-install.mdx (about)

     1  ---
     2  layout: docs
     3  page_title: 'Commands: operator gossip keyring install'
     4  description: |
     5    Install a new gossip encryption key
     6  ---
     7  
     8  # Command: operator gossip keyring install
     9  
    10  The `operator gossip keyring install` command is used to install a new
    11  encryption key used for gossip. This will broadcast the new key to all
    12  members in the cluster.
    13  
    14  This command can only be run against server nodes. It returns 0 if all nodes
    15  reply and there are no errors. If any node fails to reply or reports failure,
    16  the exit code will be 1.
    17  
    18  If ACLs are enabled, this command requires a token with the `agent:write`
    19  capability.
    20  
    21  ## Usage
    22  
    23  ```plaintext
    24  nomad operator gossip keyring install [options] <key>
    25  ```
    26  
    27  ## General Options
    28  
    29  @include 'general_options_no_namespace.mdx'
    30  
    31  ## Examples
    32  
    33  ```shell-session
    34  $ nomad operator gossip keyring install AOUfjGff+MrTBzNU7NCOTmYajKRkGv8r2ToxheWd+jk=
    35  Installing new gossip encryption key...
    36  ```