Skip to main content

Docker Swarm Unlock Key

Description

General

  • Documentation: https://docs.docker.com/engine/reference/commandline/swarm_join-token/
  • Summary: Docker Swarm allows management and orchestration of Docker applications on a cluster of hosts. Swarms can be configured to lock themselves after Manager Docker daemons have been restarted. Unlocking them requires an unlock-key.
  • IPs allowlist: This feature is not available.
  • Scopes: Keys are specific to a swarm.

Revoke the secret

It is possible to rotate an unlock-key using the cli command docker swarm unlock-key --rotate

Check for suspicious activity

Not available.

Details for Docker swarm unlock key

  • Family: Api

  • Category: Other

  • Company: Docker

  • High recall: True

  • Validity check available: False

  • Minimum number of matches: 1

  • Occurrences found for one million commits: 0.44

  • Prefixed: True

  • PreValidators:

- type: ContentWhitelistPreValidator
patterns:
- swmkey-1-

Examples

- text: |
$ docker swarm unlock-key --rotate
SWMKEY-1-UOhYoCrqWN9VYhF6FpdGXCavM0LaAmtZpm+60BoTz/A

apikey: SWMKEY-1-UOhYoCrqWN9VYhF6FpdGXCavM0LaAmtZpm+60BoTz/A

# Fat-fingered secret
- text: |
SSWMKEY-1-UOhYoCrqWN9VYhF6FpdGXCavM0LaAmtZpm+60BoTz/A

apikey: SWMKEY-1-UOhYoCrqWN9VYhF6FpdGXCavM0LaAmtZpm+60BoTz/A

How can I help you ?