Installs into .claude/skills of the current project.
Are you the author of Cis Docker V170 7.6?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/cyberstrikeus-cis-docker-v170-7-6)
---
name: cis-docker-v170-7.6
description: "Ensure that the swarm manager auto-lock key is rotated periodically"
category: cis-docker
version: "1.7.0"
author: cyberstrike-official
tags: [cis, docker, swarm, auto-lock, key-rotation]
cis_id: "7.6"
cis_benchmark: "CIS Docker Benchmark v1.7.0"
tech_stack: [docker]
cwe_ids: []
chains_with: []
prerequisites: []
severity_boost: {}
---
# CIS Docker Benchmark v1.7.0 - Control 7.6
## Profile Applicability
- **Level:** 1
- **Type:** Manual
- **Platform:** Docker Swarm
## Description
You should rotate the swarm manager auto-lock key periodically.
## Rationale
The swarm manager auto-lock key is not automatically rotated. Good security practice is to rotate keys.
## Impact
None
## Audit Procedure
Currently, there is no mechanism to find out when the key was last rotated on a swarm manager node. You should check with the system administrator to see if there is a key rotation process, and how often the key is rotated.
## Remediation
You should run the command below to rotate the keys.
```bash
docker swarm unlock-key --rotate
```
Additionally, to facilitate auditing of this recommendation, you should maintain key rotation records and ensure that you establish a pre-defined frequency for key rotation.
## Default Value
By default, keys are not rotated automatically.
## References
1. https://docs.docker.com/engine/reference/commandline/swarm_unlock-key/
## CIS Controls
**v8:**
- **5.2 Use Unique Passwords**
- Use unique passwords for all enterprise assets. Best practice implementation includes, at a minimum, an 8-character password for accounts using MFA and a 14-character password for accounts not using MFA.
**v7:**
- **4.4 Use Unique Passwords**
- Where multi-factor authentication is not supported (such as local administrator, root, or service accounts), accounts will use passwords that are unique to that system.