Skip to content

Swarm Configs and Secrets

Manage Docker Swarm configs and secrets in Arcane.

Swarm configs and secrets pass runtime data to services and stacks without including it in your images.

If a value is sensitive, use a secret; otherwise a config is fine.

  • Config: application config files, feature flags, non-sensitive env defaults.
  • Secret: API tokens, passwords, private keys, registry credentials.
  1. Open Swarm → Configs and click Create Config.
  2. Enter a name, the config content, and optional labels.
  3. Click Create Config.
  1. Open Swarm → Secrets and click Create Secret.
  2. Enter a name, the secret value, and optional labels.
  3. Click Create Secret. You can’t view the value after saving.

Click a config or secret, or choose Edit from its row menu, to change its labels. Docker doesn’t allow changing the name, config content, or secret value. Instead, create a replacement, update the services that use it, then delete the old one from its row menu.

If someone else changes it while you edit, Docker rejects your save. Open it again to load the current version.

Join tokens and the manager unlock key are not Swarm secrets. They’re cluster credentials, managed on the Cluster page.