MongoDBServerResource.withKeyFile
Method
interface MongoDBServerResource { // ... omitted for brevity withKeyFile( keyValue: IExpressionValue, keyFilePath?: string): MongoDBServerResource;}Signature
method
withKeyFile builderSets up a keyfile for internal authentication between members of a MongoDB replica set, with the specified `keyValue` as the content of the file.
withKeyFile( keyValue: IExpressionValue, keyFilePath?: string): MongoDBServerResourceParameters
keyValue IExpressionValue keyFilePath stringoptional= /etc/rs.keyReturns
MongoDBServerResource Defined on
This method is defined on the following type: