# Cis Docker V170 7.6

> Ensure that the swarm manager auto-lock key is rotated periodically

- Skill: `cyberstrikeus/cis-docker-v170-7-6` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/cis-docker-v170-7-6`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/cis-docker-v170-7-6/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: cyberstrikeus (https://skillmd.com/u/cyberstrikeus)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cyberstrikeus/cis-docker-v170-7-6

---


# 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.

