Vault token file accidentally deleted or empty

Restore the Vault token from the backup that the startup script creates after first successful initialization.

After the first successful initialization, the startup script creates a backup of the token file in your home folder named .cma-server_vault.

For enabling Vault with Cloudera Migration Assistant, see Storing secrets in Vault.

  1. Replace the active Vault token file with the backup on the CMA Server host.
    cp ~/.cma-server_vault /var/lib/cma/conf/.vault
  2. Restart the Vault server and all dependent Cloudera Migration Assistant roles according to your deployment checklist.