From 449379486fbe59febb878d0528599d4f054992e8 Mon Sep 17 00:00:00 2001 From: Grant Linville Date: Fri, 21 Feb 2025 14:13:19 -0500 Subject: [PATCH] chore: log encryption settings on startup (#1820) Signed-off-by: Grant Linville --- pkg/credstores/credstore.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/credstores/credstore.go b/pkg/credstores/credstore.go index 0a919c2d6..09cc66444 100644 --- a/pkg/credstores/credstore.go +++ b/pkg/credstores/credstore.go @@ -62,6 +62,12 @@ func Init(ctx context.Context, toolRegistries []string, dsn string, opts Options } } + if opts.EncryptionConfigFile != "" { + log.Infof("Credstore: Using encryption config file: %s", opts.EncryptionConfigFile) + } else { + log.Warnf("Credstore: No encryption config file provided, using unencrypted storage") + } + // Set up database switch { case strings.HasPrefix(dsn, "sqlite://"):