<PackageReference Include="Azure.Storage.Common" Version="12.24.0" />

ClientSideEncryptionOptions

Provides the client configuration options for connecting to Azure Blob using clientside encryption.

The version of clientside encryption to use.

public IKeyEncryptionKey KeyEncryptionKey { get; set; }

Required for upload operations. The key used to wrap the generated content encryption key. For more information, see https://docs.microsoft.com/en-us/azure/storage/common/storage-client-side-encryption.

Required for download operations. Fetches the correct key encryption key to unwrap the downloaded content encryption key. For more information, see https://docs.microsoft.com/en-us/azure/storage/common/storage-client-side-encryption.

public string KeyWrapAlgorithm { get; set; }

Required for upload operations. The algorithm identifier to use when wrapping the content encryption key. This is passed into WrapKey and its async counterpart.

Initializes a new instance of the ClientSideEncryptionOptions class.