How do I force Vault (v 0.10.1) server docker container running in dev mode to use version 1 of kv secret engine instead of the default version 2 that it gets kicked off with?
----------------------------------------------------------------------------------------------------------------
hello
==> Vault server configuration:
Cgo: disabled
Log Level: info
Mlock: supported: true, enabled: false
Storage: inmem
Version: Vault v0.10.1
Version Sha: 756fdc4587350daf1c65b93647b2cc31a6f119cd
WARNING! dev mode is enabled! In this mode, Vault runs entirely in-memory
and starts unsealed with a single unseal key. The root token is already
authenticated to the CLI, so you can immediately begin using Vault.
You may need to set the following environment variable:
The unseal key and root token are displayed below in case you want to
seal/unseal the Vault or re-authenticate.
Unseal Key: p0OAkNygQpx47+zcCNZKR50JXYYyMNK4RL/oLQArBrk=
Root Token: topsecret
Development mode should NOT be used in production installations!
==> Vault server started! Log data will stream in below:
2018-06-06T12:37:41.894Z [INFO ] core: security barrier not initialized
2018-06-06T12:37:41.894Z [INFO ] core: security barrier initialized: shares=1 threshold=1
2018-06-06T12:37:41.895Z [INFO ] core: post-unseal setup starting
2018-06-06T12:37:41.908Z [INFO ] core: loaded wrapping token key
2018-06-06T12:37:41.908Z [INFO ] core: successfully setup plugin catalog: plugin-directory=
2018-06-06T12:37:41.908Z [INFO ] core: no mounts; adding default mount table
2018-06-06T12:37:41.909Z [INFO ] core: successfully mounted backend: type=kv path=secret/
2018-06-06T12:37:41.909Z [INFO ] core: successfully mounted backend: type=cubbyhole path=cubbyhole/
2018-06-06T12:37:41.909Z [INFO ] core: successfully mounted backend: type=system path=sys/
2018-06-06T12:37:41.909Z [INFO ] core: successfully mounted backend: type=identity path=identity/
2018-06-06T12:37:41.911Z [INFO ] core: restoring leases
2018-06-06T12:37:41.911Z [INFO ] rollback: starting rollback manager
2018-06-06T12:37:41.912Z [INFO ] expiration: lease restore complete
2018-06-06T12:37:41.912Z [INFO ] identity: entities restored
2018-06-06T12:37:41.912Z [INFO ] identity: groups restored
2018-06-06T12:37:41.912Z [INFO ] core: post-unseal setup complete
2018-06-06T12:37:41.913Z [INFO ] core: root token generated
2018-06-06T12:37:41.913Z [INFO ] core: pre-seal teardown starting
2018-06-06T12:37:41.913Z [INFO ] core: cluster listeners not running
2018-06-06T12:37:41.913Z [INFO ] rollback: stopping rollback manager
2018-06-06T12:37:41.913Z [INFO ] core: pre-seal teardown complete
2018-06-06T12:37:41.913Z [INFO ] core: vault is unsealed
2018-06-06T12:37:41.913Z [INFO ] core: post-unseal setup starting
2018-06-06T12:37:41.913Z [INFO ] core: loaded wrapping token key
2018-06-06T12:37:41.913Z [INFO ] core: successfully setup plugin catalog: plugin-directory=
2018-06-06T12:37:41.913Z [INFO ] core: successfully mounted backend: type=kv path=secret/
2018-06-06T12:37:41.913Z [INFO ] core: successfully mounted backend: type=system path=sys/
2018-06-06T12:37:41.913Z [INFO ] core: successfully mounted backend: type=identity path=identity/
2018-06-06T12:37:41.913Z [INFO ] core: successfully mounted backend: type=cubbyhole path=cubbyhole/
2018-06-06T12:37:41.914Z [INFO ] core: restoring leases
2018-06-06T12:37:41.914Z [INFO ] rollback: starting rollback manager
2018-06-06T12:37:41.914Z [INFO ] identity: entities restored
2018-06-06T12:37:41.914Z [INFO ] identity: groups restored
2018-06-06T12:37:41.914Z [INFO ] core: post-unseal setup complete
2018-06-06T12:37:41.914Z [INFO ] expiration: lease restore complete
2018-06-06T12:37:41.917Z [INFO ] core: mount tuning of options: path=secret/ options=map[version:2]
2018-06-06T12:37:41.919Z [INFO ] secrets.kv.kv_e5e5be74: collecting keys to upgrade
2018-06-06T12:37:41.919Z [INFO ] secrets.kv.kv_e5e5be74: done collecting keys: num_keys=1
2018-06-06T12:37:41.919Z [INFO ] secrets.kv.kv_e5e5be74: upgrading keys finished
Please let me know if you'd like to know any further details.
Appreciate your help.