What command can be used to create a 32-byte, Base64 encoded shared secret to be used for gossip encryption?

What command can be used to create a 32-byte, Base64 encoded shared secret to be used for gossip encryption?
A . consul gossip key generate
B. consul keygen gossip
C. consul keygen
D. consul gossip generate

Answer: C

Explanation:

You can use the Consul CLI command, consul keygen, to generate a cryptographically suitable key for gossip encryption.

$ consul keygen

UO0KnY76SIZd0ltGt65R8SvWCI4XixOnZgjGEmNdQ5U=

https://learn.hashicorp.com/consul/security-networking/agent-encryption#gossip-encryption

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments