Method GetKeysAsync
- Namespace
- MongoDB.Driver.Encryption
- Assembly
- MongoDB.Driver.dll
GetKeysAsync(CancellationToken)
Finds all documents in the key vault collection.
public Task<IReadOnlyList<BsonDocument>> GetKeysAsync(CancellationToken cancellationToken = default)
Parameters
cancellationToken
CancellationTokenThe cancellation token.
Returns
- Task<IReadOnlyList<BsonDocument>>
Returns the result of the internal find() operation on the key vault collection.