I ran the following node script to get a token, then set it in the .env under TRANSFER_TOKEN_SALT={insert token here}
const crypto = require(‘crypto’);
const salt = crypto.randomBytes(16).toString(‘base64’);
console.log(salt);
I got the 2nd line from the Strapi console warning:
(node:8398) Warning: Missing transfer.token.salt: Data transfer features have been disabled.
Please set transfer.token.salt in config/admin.js (ex: you can generate one using Node with `crypto.randomBytes(16).toString('base64')`)
For security reasons, prefer storing the secret in an environment variable and read it in config/admin.js. See https://docs.strapi.io/developer-docs/latest/setup-deployment-guides/configurations/optional/environment.html#configuration-using-environment-variables```