Skip to content

Can vault.sh use vault.properties instead of requiring all options every time? #36

Description

@csutherl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions