feat(enterprise): add auth TLS and recovery hardening
This commit is contained in:
@@ -117,6 +117,24 @@ interface ISmartDbRustConfig {
|
||||
storagePath?: string;
|
||||
persistPath?: string;
|
||||
persistIntervalMs?: number;
|
||||
auth?: {
|
||||
enabled?: boolean;
|
||||
users?: Array<{
|
||||
username: string;
|
||||
password: string;
|
||||
database?: string;
|
||||
roles?: string[];
|
||||
}>;
|
||||
usersPath?: string;
|
||||
scramIterations?: number;
|
||||
};
|
||||
tls?: {
|
||||
enabled?: boolean;
|
||||
certPath?: string;
|
||||
keyPath?: string;
|
||||
caPath?: string;
|
||||
requireClientCert?: boolean;
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user