Boundary auth without a keyring configured behaves like -keyring-type none (#4268)

This commit is contained in:
Todd authored and GitHub committed 2024-01-22 16:40:23 -08:00
1 parent fa69ddcb8a
commit 0dac9005c1
2 files changed
+5 -1

No files matched your search

@@ -102,7 +102,7 @@ func (w *CommandWrapper) addTokenToCache(ctx context.Context, token string) bool
return false
}
keyringType, tokName, err := w.BaseCommand().DiscoverKeyringTokenInfo()
if err != nil {
if err != nil && token == "" {
return false
}
if token != "" {