Skip to content

Commit

Permalink
feat(NODE-4085): add typings for csfle shared library option support (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed Mar 25, 2022
1 parent d266158 commit d2897ab
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/deps.ts
Expand Up @@ -295,6 +295,16 @@ export interface AutoEncryptionOptions {
mongocryptdSpawnPath?: string;
/** Command line arguments to use when auto-spawning a mongocryptd */
mongocryptdSpawnArgs?: string[];
/**
* Full path to a CSFLE shared library to be used (instead of mongocryptd)
* @experimental
*/
csflePath?: string;
/**
* Search paths for a CSFLE shared library to be used (instead of mongocryptd)
* @experimental
*/
csfleSearchPaths?: string[];
};
proxyOptions?: ProxyOptions;
/** The TLS options to use connecting to the KMS provider */
Expand All @@ -315,4 +325,5 @@ export interface AutoEncrypter {
teardown(force: boolean, callback: Callback): void;
encrypt(ns: string, cmd: Document, options: any, callback: Callback<Document>): void;
decrypt(cmd: Document, options: any, callback: Callback<Document>): void;
readonly csfleVersionInfo: { version: bigint; versionStr: string } | null;
}

0 comments on commit d2897ab

Please sign in to comment.