From f4698b540add23a71ecfb31bd1f6694a0c49beed Mon Sep 17 00:00:00 2001 From: Anna Henningsen Date: Tue, 16 Feb 2021 17:59:17 +0100 Subject: [PATCH] fix: add FLE AWS sessionToken TypeScript definitions (#2737) NODE-3107 --- src/deps.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/deps.ts b/src/deps.ts index 36c6612582..570ca14a31 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -90,6 +90,11 @@ export interface AutoEncryptionOptions { accessKeyId: string; /** The secret access key used for the AWS KMS provider */ secretAccessKey: string; + /** + * An optional AWS session token that will be used as the + * X-Amz-Security-Token header for AWS requests. + */ + sessionToken?: string; }; /** Configuration options for using 'local' as your KMS provider */ local?: {