@azure/cosmos
Version:
Microsoft Azure Cosmos DB Service Node.js SDK for NOSQL API
21 lines • 683 B
TypeScript
import type { EncryptionKeyWrapMetadata } from "../EncryptionKeyWrapMetadata.js";
/**
* Interface representing a request for client encryption key in Cosmos DB.
*/
export interface ClientEncryptionKeyRequest {
/** id of the client encryption key */
id: string;
/**
* The algorithm used to encrypt/decrypt data.
*/
encryptionAlgorithm: string;
/**
* Metadata containing information necessary to wrap/unwrap the encryption key.
*/
keyWrapMetadata: EncryptionKeyWrapMetadata;
/**
* The wrapped (encrypted) data encryption key.
*/
wrappedDataEncryptionKey: string;
}
//# sourceMappingURL=ClientEncryptionKeyRequest.d.ts.map