TMA-DOCKER-7.4
Ensure that Docker's secret management commands are used for managing secrets in a swarm cluster
Description
You should use Docker's in-built secret management command for control of secrets. Docker has various commands for managing secrets in a swarm cluster. Reported as a manual review item: the audit needs a site-specific judgement.
How it is checked
Audit method: Manual review
This recommendation cannot be checked automatically. A scan lists it with these instructions when you pass --include-manual.
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 Expected state: You should follow the docker secret documentation and use it to manage secrets effectively.
How it is fixed
Fix method: Guidance or infrastructure patch
You should follow the docker secret documentation and use it to manage secrets effectively.
Properties
- Operating systems
- Any
- Tags
- dockermanual
- Reference
- CIS Docker Benchmark v1.9.0 - 7.4 Ensure that Docker's secret management commands are used for managing secrets in a swarm cluster