Last active
August 29, 2015 14:07
-
-
Save ryanuber/98d91e3b16adf8f252ba to your computer and use it in GitHub Desktop.
This file contains hidden or 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 -list | |
==> Gathering installed encryption keys... | |
==> Done! | |
dc2 (LAN): | |
HjZbybeuVTvM5QRtuLl77g== [2/2] | |
dc1 (LAN): | |
HjZbybeuVTvM5QRtuLl77g== [2/2] | |
WAN: | |
HjZbybeuVTvM5QRtuLl77g== [2/2] |
This file contains hidden or 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 -install 4v+k0FkhxDxI6ynMhjIUmg== | |
==> Installing new gossip encryption key... | |
==> Done! | |
$ consul keyring -list | |
==> Gathering installed encryption keys... | |
==> Done! | |
dc1 (LAN): | |
HjZbybeuVTvM5QRtuLl77g== [2/2] | |
4v+k0FkhxDxI6ynMhjIUmg== [2/2] | |
WAN: | |
HjZbybeuVTvM5QRtuLl77g== [2/2] | |
4v+k0FkhxDxI6ynMhjIUmg== [2/2] | |
dc2 (LAN): | |
HjZbybeuVTvM5QRtuLl77g== [2/2] | |
4v+k0FkhxDxI6ynMhjIUmg== [2/2] |
This file contains hidden or 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 -use 4v+k0FkhxDxI6ynMhjIUmg== | |
==> Changing primary gossip encryption key... | |
==> Done! |
This file contains hidden or 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 -remove HjZbybeuVTvM5QRtuLl77g== | |
==> Removing gossip encryption key... | |
==> Done! |
This file contains hidden or 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 -remove 4v+k0FkhxDxI6ynMhjIUmg== | |
==> Removing gossip encryption key... | |
dc1 (LAN) error: 2/2 nodes reported failure | |
node1: Removing the primary key is not allowed | |
myothernode3: Removing the primary key is not allowed | |
WAN error: 2/2 nodes reported failure | |
node1.dc1: Removing the primary key is not allowed | |
nodeX.dc2: Removing the primary key is not allowed | |
dc2 (LAN) error: 2/2 nodes reported failure | |
nodeX: Removing the primary key is not allowed | |
x3: Removing the primary key is not allowed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment