Hacker News new | ask | show | jobs
by ayi 1571 days ago
Deploying them as ENV values and reading from env is the best practice as far as I know. But "deploying" part depends on your infrastructure.
1 comments

Do you store them as plaintext in the backend db?
Often keys are stored in some sort of secure Key Vault. This is part of the infrastructure, e.g., Azure Key Vault. Or something like https://www.vaultproject.io/docs/secrets