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