2.24 Rotate swarm manager auto-lock key periodically

Information

Rotate swarm manager auto-lock key periodically.

Rationale:

Swarm manager auto-lock key is not automatically rotated. You should rotate them periodically as a best practice.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Run the below command to rotate the keys.

docker swarm unlock-key --rotate



Additionally, to facilitate audit for this recommendation, maintain key rotation records and ensure that you establish a pre-defined frequency for key rotation.

Impact:

None

Default Value:

By default, keys are not rotated automatically.

See Also

https://workbench.cisecurity.org/files/1476