Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

631 B
Raw Blame
// DataSourceOptions is the options for a data source.
export interface DataSourceOptions {
  srv: boolean;
  authenticationDatabase: string;
  // sid and serviceName are used for Oracle database. Required one of them.
  sid: string;
  serviceName: string;
  // Connection over SSH.
  sshHost: string;
  sshPort: string;
  sshUser: string;
  sshPassword: string;
  sshPrivateKey: string;
  authenticationPrivateKey: string;
  // Extra connection parameters for the database connection string
  // For PostgreSQL HA, this can be used to set target_session_attrs=read-write
  extraConnectionParameters?: { [key: string]: string };
}