lib/mongo/crypt/encryption_io.rb
def key_vault_collection
        @key_vault_collection ||= @key_vault_client.with(
          database: @key_vault_db_name,
          read_concern: { level: :majority },
          write_concern: { w: :majority }
        )[@key_vault_collection_name]
      end
# Use the provided key vault client and namespace to construct a
# Mongo::Collection object representing the key vault collection.
Use the provided key vault client and namespace to construct a
Mongo::Collection object representing the key vault collection.
Use the provided key vault client and namespace to construct a Mongo :: Collection object representing the key vault collection .
def key_vault_collection
        @key_vault_collection ||= @key_vault_client.with(
          database: @key_vault_db_name,
          read_concern: { level: :majority },
          write_concern: { w: :majority }
        )[@key_vault_collection_name]
      end
def key_vault_collection @key_vault_collection ||= @key_vault_client . with ( database : @key_vault_db_name , read_concern : { level : :majority } , write_concern : { w : :majority } ) [ @key_vault_collection_name ] end
Use the provided key vault client and namespace to construct a
Mongo::Collection object representing the key vault collection.
Use the provided key vault client and namespace to construct a Mongo :: Collection object representing the key vault collection .