Docs Menu
Docs Home
/
MongoDB Cloud Manager
/ /

Rotate Keyfile

On this page

  • Prerequisites
  • Procedure

If your cluster uses keyfile authentication, it is recommended that you rotate the keyfile periodically. Cloud Manager provides an automated procedure for keyfile rotation with no downtime.

To rotate the keyfile using the API instead of the user interface, see Rotate a Key File with the API.

To perform a rolling keyfile rotation:

  • Authentication must be enabled.

  • At least one cluster in the project must be configured with the clusterAuthMode option set to keyFile or sendKeyFile.

  • All clusters in the project must be running MongoDB version 4.2 or higher.

1
  1. If it is not already displayed, select the organization that contains your desired project from the Organizations menu in the navigation bar.

  2. If it's not already displayed, select your desired project from the Projects menu in the navigation bar.

  3. If the Deployment page is not already displayed, click Deployment in the sidebar.

    The Deployment page displays.

2

Click the Security tab for your deployment.

The Security page displays.

3

Do one of the following actions:

  • If this is your first time configuring TLS, authentication, or authorization settings for this project, click Get Started.

  • If you have already configured TLS authentication, or authorization settings for this project, click Edit.

4
5
  1. Click Review & Deploy.

  2. The modal window contains a summary of the keyfile rotation procedure. If it all looks correct, click Confirm & Deploy.

Back

Clear Security Settings