I wanted to test Spring Cloud Vault configuration.
I installed a Vault server locally and when i try to write
some key-values its failing and asking me to u
Try the following ..
./vault kv put secret/my-app password=123
I'll add that this is something new in 0.10.0.
Seems like 0.10.0 has some breaking API changes ... so solution #2 is to use an earlier version of Vault (v0.9.6). This includes defaulting to the v2 of the KV secret engine , which is versioned.
Solution #3 is to re-create the /secret engine with v1 of KV. Running the following:
./vault secrets disable secret
./vault secrets enable -version=1 -path=secret kv