const blockBlobClient = BlobServiceClient.fromConnectionString(connectionString)
.getContainerClient("container")
.getBlockBlobClient("store.json");
const driver = new AzureBlobStorageDriver(
{ name: "AzureBlobStorageDriver", blockBlobClient },
bufferSerializer,
);
const blockBlobClient = BlobServiceClient.fromConnectionString(connectionString)
.getContainerClient("container")
.getBlockBlobClient("store.aes");
const processor = new CryptoBufferProcessor(Buffer.from("some-secret-key"));
const driver = new AzureBlobStorageDriver(
{ name: "CryptAzureBlobStorageDriver", blockBlobClient },
bufferSerializer,
processor,
);