Using this application we can do basic operations on java keystore file like adding, deleting, updating and listing keys
| option | description |
|---|---|
| -a,--set | Add if the key does not exist or Set the existing key value, -ka and -kv are required |
| -d,--delete | delete the existing key value, option -ka required |
| -ka,--alias <arg> | alias name / key name |
| -ks,--keystore <arg> | keystore file path |
| -sp,--storepass <arg> | keystore password |
| -kv,--aliasval <arg> | alias value / key value |
| -l,--list | List all the keys from the keystore |
| -q,--query | query key from keystore, -ka required |
| -h,--help | keytoolutils CLI options |
java KeyToolUtils -ks /home/user/store/keyStore -sp ***** -h
java KeyToolUtils -ks /home/user/store/keyStore -sp ***** -a -ka name.key -kv ----keyvalue----