- Security >
- Enable Authentication for an Ops Manager Project >
- Rotate Keyfile
Rotate Keyfile¶
On this page
If your cluster uses keyfile authentication, it is recommended that you rotate the keyfile periodically. Ops Manager provides an automated procedure for keyfile rotation with no downtime.
Prerequisites¶
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
orsendKeyFile
. - All clusters in the project must be running MongoDB version 4.2 or higher.