# Cis Docker 7.4

> Ensure that Docker's secret management commands are used for managing secrets in a swarm cluster

- Skill: `cyberstrikeus/cis-docker-7-4` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/cis-docker-7-4`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/cis-docker-7-4/raw
- Safety review: pending (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-7-4

---


# 7.4 Ensure that Docker's secret management commands are used for managing secrets in a swarm cluster (Manual)

## Profile Applicability

- Level 1 - Docker Swarm

## Description

You should use Docker's in-built secret management command for control of secrets.

## Rationale

Docker has various commands for managing secrets in a swarm cluster.

## Impact

None

## Audit Procedure

On a swarm manager node, you should run the command below and ensure `docker secret` management is used in your environment where this is in line with your IT security policy.

```
docker secret ls
```

## Remediation

You should follow the `docker secret` documentation and use it to manage secrets effectively.

## Default Value

Not Applicable

## References

1. https://docs.docker.com/engine/reference/commandline/secret/

## CIS Controls

| Controls Version | Control                                                                                                                                                                                                                                                                                        | IG 1 | IG 2 | IG 3 |
| ---------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---- | ---- | ---- |
| v8               | 4 Secure Configuration of Enterprise Assets and Software<br>Establish and maintain the secure configuration of enterprise assets (end-user devices, including portable and mobile; network devices; non-computing/IoT devices; and servers) and software (operating systems and applications). |      |      |      |
| v7               | 5.1 Establish Secure Configurations<br>Maintain documented, standard security configuration standards for all authorized operating systems and software.                                                                                                                                       | ●    | ●    | ●    |

