你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ClientEncryptionKey Class

Definition

Provides operations for reading a specific client data encryption key (aka ClientEncryptionKey) by Id. See Database for operations to create and enumerate client encryption keys. See https://aka.ms/CosmosClientEncryption for more information on client-side encryption support in Azure Cosmos DB.

public abstract class ClientEncryptionKey
type ClientEncryptionKey = class
Public MustInherit Class ClientEncryptionKey
Inheritance
ClientEncryptionKey

Constructors

Name Description
ClientEncryptionKey()

Properties

Name Description
Id

The unique identifier of the client encryption key.

Methods

Name Description
ReadAsync(RequestOptions, CancellationToken)

Reads the properties of a client encryption key from the Azure Cosmos service as an asynchronous operation. This method is not meant to be invoked directly. Please see https://aka.ms/CosmosClientEncryption in order to use client-side encryption.

ReplaceAsync(ClientEncryptionKeyProperties, RequestOptions, CancellationToken)

Replace a ClientEncryptionKeyProperties from the Azure Cosmos service as an asynchronous operation. This method is not meant to be invoked directly. Please see https://aka.ms/CosmosClientEncryption in order to use client-side encryption.

Applies to