Created
September 13, 2014 19:40
-
-
Save ryanuber/435f14e225be7cee12c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ consul keyring -init r+pUD3yH8bZVHxPrBwmI2g== -data-dir /tmp/consul | |
<start/join agents here> | |
$ consul keyring -list | |
==> Asking all WAN members for installed keys... | |
r+pUD3yH8bZVHxPrBwmI2g== [1/1] | |
==> Asking all LAN members for installed keys... | |
r+pUD3yH8bZVHxPrBwmI2g== [2/2] | |
$ consul keyring -install xGO97pQcfaG6I/lVzMoqFA== | |
==> Installing new WAN gossip encryption key... | |
==> Installing new LAN gossip encryption key... | |
==> Successfully installed key! | |
$ consul keyring -list | |
==> Asking all WAN members for installed keys... | |
r+pUD3yH8bZVHxPrBwmI2g== [1/1] | |
xGO97pQcfaG6I/lVzMoqFA== [1/1] | |
==> Asking all LAN members for installed keys... | |
xGO97pQcfaG6I/lVzMoqFA== [2/2] | |
r+pUD3yH8bZVHxPrBwmI2g== [2/2] | |
$ consul keyring -use xGO97pQcfaG6I/lVzMoqFA== | |
==> Changing primary WAN gossip encryption key... | |
==> Changing primary LAN gossip encryption key... | |
==> Successfully changed primary key! | |
$ consul keyring -remove r+pUD3yH8bZVHxPrBwmI2g== | |
==> Removing WAN gossip encryption key... | |
==> Removing LAN gossip encryption key... | |
==> Successfully removed key! | |
$ consul keyring -list | |
==> Asking all WAN members for installed keys... | |
xGO97pQcfaG6I/lVzMoqFA== [1/1] | |
==> Asking all LAN members for installed keys... | |
xGO97pQcfaG6I/lVzMoqFA== [2/2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment