Vault error while writing

前端 未结 4 862
心在旅途
心在旅途 2021-02-07 23:01

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

4条回答
  •  终归单人心
    2021-02-07 23:45

    Try the following in windows , (in command prompt) ,

    SET VAULT_TOKEN=00000000-0000-0000-0000-000000000000

    SET VAULT_ADDR=http://127.0.0.1:8200

    vault kv put secret/gs-vault-config example.username=demouser example.password=demopassword

    (There is change in creating key-value in Hashicorp Vault now. Use kv put instead of write.)

提交回复
热议问题