Boundary auth without a keyring configured behaves like -keyring-type none (#4268)
This commit is contained in:
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 != "" {
|
||||
|
||||
Reference in new issue
Block a user