Velo's Secrets Manager allows you to securely store API keys and other secrets on your site. Each secret's value is encrypted, and assigned a name of your choice and an ID. You can then use the name or ID to refer to the secret in your backend code rather than hardcoding its value.
Learn more about Velo's Secrets Manager.
With the Secrets API, you can safely:
To use the Secrets API, import wixSecretsBackend
from the wix-secrets-backend
module:
Learn more about the Wix Secrets API in Secrets Manager in the Velo API Reference, and on Wix Learn.
It's important to note these points before coding:
getSecret()
.Security considerations