Cryptography Key Generation

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

  1. To Add the cipher key, run the following command:

    ./lrctl cipherkey add
    


  2. Enter your cipher key.

    The cipher key must be 16, 32 or 64 characters long.


    1.PNG

After entering your cipher key, you can see it was successfully added:
2.PNG


Edit 

  1. To edit an existing cipher key, run the following command:

    ./lrctl cipherkey edit
    


  2. Enter your new cipher key.

    The cipher key must be 16, 32 or 64 characters long.


    3.PNG

After entering your new cipher key, you can see it was successfully updated:
4.PNG

View 

  1. To view the cipher key, run the following command:

    ./lrctl cipherkey view
    

    You can see the cipher key added (or edited) in previous step:

5.PNG

Remove 

  1. To remove the cipher key, run the following command:

    ./lrctl cipherkey remove
    


  2. Enter y to continue removing the cipher key.

    6.PNG

You can see the cipher key was successfully removed.
7.PNG