fix: vault settings
This commit is contained in:
@@ -18,7 +18,7 @@ class Settings(BaseSettings):
|
||||
VAULT_SECRET_ID: str = ''
|
||||
VAULT_NAMESPACE: str | None = None
|
||||
VAULT_MOUNT_POINT: str = 'dev-secrets'
|
||||
VAULT_APP_SECRET_PATH: str = 'app'
|
||||
VAULT_APP_SECRET_PATH: str = ''
|
||||
VAULT_BEORG_SECRET_PATH: str = 'beorg'
|
||||
VAULT_DATABASE_SECRET_PATH: str = 'database'
|
||||
VAULT_JWT_SECRET_PATH: str = 'jwt'
|
||||
|
||||
@@ -35,7 +35,7 @@ class VaultClient:
|
||||
continue
|
||||
try:
|
||||
result.update(self.read_secret(path))
|
||||
except hvac.exceptions.InvalidPath:
|
||||
except (hvac.exceptions.InvalidPath,hvac.exceptions.Forbidden):
|
||||
continue
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user