I was writing some documentation for a project that uses tomcat-vault and noticed a potential improvement. When using vault.sh, you have to specify the keystore, keystore-password, etc every time! Example:
$ ./vault.sh --keystore /path/to/vault.keystore --keystore-password my_password123 --alias my_vault --enc-dir /path/to/vault/ --iteration 120 --salt 1234abcd --vault-block my_block --attribute manager_password --sec-attr P@SSW0#D
Can we add an option to take vault.properties in (if you have one) and use that configuration instead? Doing so would shorten the command above to:
$ ./vault.sh -C /path/to/vault.properties --vault-block my_block --attribute manager_password --sec-attr P@SSW0#D
I was writing some documentation for a project that uses tomcat-vault and noticed a potential improvement. When using vault.sh, you have to specify the keystore, keystore-password, etc every time! Example:
Can we add an option to take vault.properties in (if you have one) and use that configuration instead? Doing so would shorten the command above to: