Load secrets from files
Putting secrets into environment variables is problematic due to them being inherited by sub-processes, the ease as which these can be leaked in logs, and the lack of support for loading secrets into environment variables by systems such as systemd and docker. Change the loading of secrets to be done by loading the content of a file specified by an environment variable.
This commit is contained in:
parent
c9976af26b
commit
4444daaca9
3 changed files with 10 additions and 7 deletions
|
@ -3,9 +3,9 @@ export default defineNuxtConfig({
|
|||
compatibilityDate: '2024-11-01',
|
||||
devtools: { enabled: true },
|
||||
runtimeConfig: {
|
||||
cookieSecretKey: "",
|
||||
cookieSecretKeyFile: "",
|
||||
vapidSubject: "",
|
||||
vapidPrivateKey: "",
|
||||
vapidPrivateKeyFile: "",
|
||||
public: {
|
||||
defaultTimezone: "Europe/Oslo",
|
||||
vapidPublicKey: "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue