This feature allows users to add cryptographic keys (16, 32, or 64 characters). This will augment the encryption of sensitive information required for some beats.
Feature Commands
Main Command :
-
cipherkey
Sub-commands:
-
Add – Used to add the cipher key.
-
Edit – Used to edit the existing cipher key.
-
View – Used to view the existing cipher key.
-
Remove – Used to remove the cipher key.
Sub-command Uses
Add
-
To Add the cipher key, run the following command:
./lrctl cipherkey add
-
Enter your cipher key.
The cipher key must be 16, 32 or 64 characters long.
After entering your cipher key, you can see it was successfully added:
Edit
-
To edit an existing cipher key, run the following command:
./lrctl cipherkey edit
-
Enter your new cipher key.
The cipher key must be 16, 32 or 64 characters long.
After entering your new cipher key, you can see it was successfully updated:
View
-
To view the cipher key, run the following command:
./lrctl cipherkey viewYou can see the cipher key added (or edited) in previous step:
Remove
-
To remove the cipher key, run the following command:
./lrctl cipherkey remove
-
Enter y to continue removing the cipher key.
You can see the cipher key was successfully removed.