Table of Contents

Method GetKeysAsync

Namespace
MongoDB.Driver.Encryption
Assembly
MongoDB.Driver.Encryption.dll

GetKeysAsync(CancellationToken)

Finds all documents in the key vault collection.

public Task<IReadOnlyList<BsonDocument>> GetKeysAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

The cancellation token.

Returns

Task<IReadOnlyList<BsonDocument>>

Returns the result of the internal find() operation on the key vault collection.