Securing the OpenBao initialization output

Copy the OpenBao initialization files and bootstrap.env to a secure secret store, because losing the initialization file is unrecoverable.

The vault-init phase writes the OpenBao root token together with the unseal or recovery keys to two files in the working folder:

  • .secrets-vault-init.json always holds the most recent output. The installer reads this file to log in to OpenBao and to unseal it when you run the installation again.
  • .secrets-vault-init.<timestamp>.json holds a timestamped backup, for example, .secrets-vault-init.2026-07-14T15-30-45.json.
  1. Copy both files to the secure secret store that you control.
  2. Confirm that the files are readable from the store.
  3. Copy bootstrap.env to the same store, because it holds the registry credentials and the provider API keys.
  4. Remove the local copies from the installer host when your operating procedure requires it.

In auto unseal mode the file holds recovery keys rather than unseal keys. Use the recovery keys to generate a new root token or to rekey OpenBao.