Christophe Le Guern cc90f83463
Use 'vault kv put' instead of 'vault write'
When using vault_cli with a kv2 path, it isn't working. I have the following error:
```
WARNING! The following warnings were returned from Vault:                                                                                                                                                                                     
                                                                                                                                                                                                                                              
  * Invalid path for a versioned K/V secrets engine. See the API docs for the                                                                                                                                                                 
  appropriate API endpoints to use. If using the Vault CLI, use 'vault kv put'                                                                                                                                                                
  for this operation.                                                                                                                                                                                                                         
```
The new way to write data  is to use `vault kv put`, it is compatible with kv1 and kv2.
Ref: https://www.vaultproject.io/docs/commands#reading-and-writing-data
```
The original version of K/V used the common read and write operations. A more advanced K/V Version 2 engine was released in Vault 0.10 and introduced the kv get and kv put commands.
```
2021-03-29 15:10:14 +02:00
..
2018-06-28 22:21:22 +08:00
2017-02-19 20:40:53 +08:00
2020-08-17 22:18:20 +08:00
2020-11-28 15:22:14 +01:00
2018-08-21 16:41:45 +02:00
2020-05-02 22:14:21 +02:00
2018-03-22 13:45:43 -04:00
fix
2020-12-07 22:01:30 +08:00
exe
2017-02-05 23:14:25 +08:00
2019-02-20 09:40:36 +08:00
2017-02-19 20:40:53 +08:00
2017-02-19 20:40:53 +08:00
2017-02-19 20:40:53 +08:00
2021-01-13 20:37:05 +00:00
2017-02-19 20:40:53 +08:00
2020-01-30 12:06:39 +08:00
2020-08-17 22:18:20 +08:00
2020-12-09 21:01:44 -07:00
2020-11-02 16:46:09 +03:00
2020-08-17 22:18:20 +08:00