Secret is an optional parameter that
enables encryption and decryption of Gossip messages.
Secret does not store the key in an encrypted format
and using
EncryptedSecret is preferred. For more
information, see
Section 3.13.4.
The format is n,value where:
n is key index. The valid values are from
1 and 65535. The key index cannot be
0, it is a reserved value and an error is logged if
0 is used.
value is the key
Using Secret requires the following Perl
modules:
- Crypt::GCM
- Crypt::Rijndael
CAUTION
If none of the Secret
parameters can be successfully parsed, Gossip does not work and logs an
error.
Here is an example of using
Secret:
<GossipUDP>
# Secret also works with GossipREDIS clause
Secret 1,fred1
Secret 2,fred2
Secret 3,fred3
</GossipUDP>