@@ -773,6 +773,7 @@ export interface ClientEncryptionRewrapManyDataKeyProviderOptions {
773
773
| AWSEncryptionKeyOptions
774
774
| AzureEncryptionKeyOptions
775
775
| GCPEncryptionKeyOptions
776
+ | KMIPEncryptionKeyOptions
776
777
| undefined ;
777
778
}
778
779
@@ -885,6 +886,24 @@ export interface AzureEncryptionKeyOptions {
885
886
keyVersion ?: string | undefined ;
886
887
}
887
888
889
+ /**
890
+ * @public
891
+ * Configuration options for making a KMIP encryption key
892
+ */
893
+ export interface KMIPEncryptionKeyOptions {
894
+ /**
895
+ * keyId is the KMIP Unique Identifier to a 96 byte KMIP Secret Data managed object.
896
+ *
897
+ * If keyId is omitted, a random 96 byte KMIP Secret Data managed object will be created.
898
+ */
899
+ keyId ?: string ;
900
+
901
+ /**
902
+ * Host with optional port.
903
+ */
904
+ endpoint ?: string ;
905
+ }
906
+
888
907
/**
889
908
* @public
890
909
* Options to provide when creating a new data key.
@@ -897,6 +916,7 @@ export interface ClientEncryptionCreateDataKeyProviderOptions {
897
916
| AWSEncryptionKeyOptions
898
917
| AzureEncryptionKeyOptions
899
918
| GCPEncryptionKeyOptions
919
+ | KMIPEncryptionKeyOptions
900
920
| undefined ;
901
921
902
922
/**
@@ -909,19 +929,6 @@ export interface ClientEncryptionCreateDataKeyProviderOptions {
909
929
keyMaterial ?: Buffer | Binary ;
910
930
}
911
931
912
- /**
913
- * @public
914
- * @experimental
915
- */
916
- export interface ClientEncryptionRewrapManyDataKeyProviderOptions {
917
- provider : ClientEncryptionDataKeyProvider ;
918
- masterKey ?:
919
- | AWSEncryptionKeyOptions
920
- | AzureEncryptionKeyOptions
921
- | GCPEncryptionKeyOptions
922
- | undefined ;
923
- }
924
-
925
932
/**
926
933
* @public
927
934
* @experimental
0 commit comments