From c03bc9d70058b2140da758e7754dc8301e512777 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 31 May 2025 20:29:26 +0200 Subject: Generate jwt secrets --- src/util/secretUtils.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/util/secretUtils.js') diff --git a/src/util/secretUtils.js b/src/util/secretUtils.js index bbad8ca..92e1b1c 100644 --- a/src/util/secretUtils.js +++ b/src/util/secretUtils.js @@ -1,6 +1,7 @@ import fs from 'node:fs/promises'; -export async function readSecret(path) { +export async function readSecret(name, path) { + console.log(`[SECRET] Reading secret "${name}" from path: ${path}`); if (!path) { throw new Error('Path to secret file is required'); } -- cgit 1.5.1