You may encounter cases when you'd like to migrate your platform from one infrastructure to another and get to a point where you also need to migrate Vault transit keys used for sensitive data encryption/decryption.
vault login
vault list transit/keys
vault write transit/keys/*key_name*/config allow_plaintext_backup=true exportable=true
vault read transit/backup/*key_name*
vault login
vault write transit/restore/*key_name* backup=@*exported file*
vault list transit/keys