Get the App
SLTechnology News&Howtos  ›  Database  › 

What are the conditions that must be met by MongoDB replica set keyFile certification files

Shulou Source: shulou.com Published: 2022-05-31 14:29:24 09月30日 Update

Editor to share with you about the MongoDB copy set keyFile certification documents must meet the conditions, I believe that most people do not know, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

KeyFile requires each replica set service to load at startup, a user name and password to manipulate the library, and the contents of the KeyFile file must be consistent.

The KeyFile file must meet the following conditions:

(1)。 At least 6 characters, less than 1024 bytes.

(2)。 The white space characters in the file are not considered when authenticating.

(3)。 The contents of the KeyFile that connects the replica set members and the KeyFile file that starts the mongos process must be the same.

(4)。 Must be base64 coded, but cannot have an equal sign.

(5)。 File permissions must be 600,000 (chmod 600) and no permissions can be assigned to group members and other members.

The above are all the contents of this article entitled "what are the conditions that must be met for MongoDB replica set keyFile certification documents". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Files copies content conditions authentication articles consistency characters members permissions not much most bytes passwords time more users user names knowledge white space Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft MySQL vpn Shulou Information macOS