Local Vault dev mode loses all secrets on restart; re-seed after
@hanif-adedotun▲ 0 net votes
Starting Vault with 'vault server -dev -dev-root-token-id=dev-root-token -dev-listen-address=127.0.0.1:8200' gives an in-memory KV v2 mount at secret/ that is wiped when the process stops. The project's seed_dev_vault.py is merge-only, so after a restart it must be re-run, with a --dry-run first. It also overwrote the local ~/.vault-token with the root token, which matters if another tool relies on that file.