Khizana is an arabic word means locker. This tool is an encrypted personal vault to store secrets on your system.
AES 256 Cipher
Khizana offers different option like init
add
view
get
update
delete
& destroy
Khizana is a personal vault for your sensitive information.
Options:
init Initialize Your Khizana
view To View Your Khizana
get KEY To get Value of The Key
add KEY VALUE To Add Key Value To Your Khizana
update KEY VALUE To Updated Value Of The Key
delete KEY To Remove Key From Khizana
destroy To Destroy Khizana
help To Get Help Of Khizana
Initialization is the first step to setup Khizana. Password is mandatory in each action and once you enter password it will get initialized.
$ khizana init
Enter Password For Your Khizana
Khizana has initialized successfully
You can add secret as a key
value
to Khizana. Both key
& value
is mandatory to add secret.
Note: It required key
to be unique.
$ khizana add username mohsinzaheer25
Enter Password For Your Khizana
Key Value Added
You can view your secrets using view
command.
$ khizana view
Enter Password For Your Khizana
# Khizana
username: mohsinzaheer25
Khizana will return the secret based on key
.
$ khizana get username
Enter Password For Your Khizana
mohsinzaheer25
You can simply update your secret by using update
command and passing key
& value
.
$ khizana update username mohsinzaheer
Enter Password For Your Khizana
username value updated
You can check if key
got updated or not using view
command.
$ khizana view
Enter Password For Your Khizana
# Khizana
username: mohsinzaheer
You can delete a key
by using delete
commanding and passing key
to it. It will ask if you really want to delete or not and if it is yes
then it will delete the key.
$ khizana delete username
Enter Password For Your Khizana
Use the arrow keys to navigate: ↓ ↑ → ←
? Are you sure you want to delete:
▸ Yes
No
✔ Yes
username key deleted
You can always check with view
command for changes.
$ khizana view
Enter Password For Your Khizana
# Khizana
If you want to destroy the vault then you can use destroy
command to destroy it.
Note: Make a backup of your secret, once it is destroyed it can't be recovered.
Enter Password For Your Khizana
Use the arrow keys to navigate: ↓ ↑ → ←
? Are you sure you want to destroy Khizana:
▸ Yes
No
✔ Yes
Khizana destroyed
This tool is available for Linux and Mac operating systems and can be download using below urls.
Contributions are more than welcome, if you are interested please send an email to [email protected] until contribution guidelines get ready.