Skip to content

Commit

Permalink
chore: log encryption settings on startup (#1820)
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Linville <[email protected]>
  • Loading branch information
g-linville authored Feb 21, 2025
1 parent 7e31d2d commit 4493794
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/credstores/credstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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://"):
Expand Down

0 comments on commit 4493794

Please sign in to comment.