Skip to content

Commit

Permalink
feat(NODE-3777): add csfle kmip support
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Dec 20, 2021
1 parent 76fff97 commit ee50a09
Show file tree
Hide file tree
Showing 12 changed files with 5,103 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .evergreen/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ if [[ -z "${CLIENT_ENCRYPTION}" ]]; then
unset AWS_ACCESS_KEY_ID;
unset AWS_SECRET_ACCESS_KEY;
else
npm install mongodb-client-encryption@">=2.0.0-beta.0"
if [[ ! -d ${PROJECT_DIRECTORY}/node_modules/mongodb-client-encryption ]]; then
npm install mongodb-client-encryption@">=2.0.0-beta.0"
fi
pip install --upgrade boto3

# Get access to the AWS temporary credentials:
Expand Down
11 changes: 11 additions & 0 deletions src/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,17 @@ export interface AutoEncryptionOptions {
*/
endpoint?: string | undefined;
};
/**
* Configuration options for using 'kmip' as your KMS provider
*/
kmip?: {
/**
* The output endpoint string.
* The endpoint consists of a hostname and port separated by a colon.
* E.g. "example.com:123". A port is always present.
*/
endpoint?: string;
};
};
/**
* A map of namespaces to a local JSON schema for encryption
Expand Down
Loading

0 comments on commit ee50a09

Please sign in to comment.