This commit is contained in:
Stephan D
2026-03-10 12:31:09 +01:00
parent d87e709f43
commit e77d1ab793
287 changed files with 2089 additions and 1550 deletions

View File

@@ -161,6 +161,7 @@ func resolveToken(config Config) (string, string, error) {
}
}
if tokenFilePath != "" {
//nolint:gosec // Token file path comes from trusted deployment configuration.
raw, err := os.ReadFile(tokenFilePath)
if err != nil {
return "", "", merrors.Internal("vault kv: failed to read token file " + tokenFilePath + ": " + err.Error())