Securing the OpenBao initialization output

Copy the OpenBao root token and unseal or recovery key files from the installer host to a secret store that you control.

The vault-init phase writes the OpenBao root token and the unseal or recovery keys to two files in the working folder: .secrets-vault-init.json, which holds the most recent output, and .secrets-vault-init.<timestamp>.json, a timestamped backup.

  1. Copy both files to the 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 keys.
  4. Remove the local copies from the installer host when your procedure requires it.

The OpenBao initialization output is stored outside the installer host.