feat: add avatars
This commit is contained in:
@@ -64,12 +64,3 @@ class VaultClient:
|
||||
return self.read_secret(path)
|
||||
except (hvac.exceptions.InvalidPath, hvac.exceptions.Forbidden, hvac.exceptions.Unauthorized):
|
||||
return {}
|
||||
result: dict[str, Any] = {}
|
||||
for path in paths:
|
||||
if not path:
|
||||
continue
|
||||
try:
|
||||
result.update(self.read_secret(path))
|
||||
except (hvac.exceptions.InvalidPath, hvac.exceptions.Forbidden, hvac.exceptions.Unauthorized):
|
||||
continue
|
||||
return result
|
||||
|
||||
Reference in New Issue
Block a user