UNPKG

@confluentinc/schemaregistry

Version:
13 lines (12 loc) 445 B
import { KmsClient } from "../kms-registry"; import { TokenCredential } from "@azure/identity"; export declare class AzureKmsClient implements KmsClient { private static ALGORITHM; private kmsClient; private keyUri; private keyId; constructor(keyUri: string, creds: TokenCredential); supported(keyUri: string): boolean; encrypt(plaintext: Buffer): Promise<Buffer>; decrypt(ciphertext: Buffer): Promise<Buffer>; }