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.
Configs vs. secrets
Section titled “Configs vs. secrets”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.
Create a config
Section titled “Create a config”- Open Swarm → Configs and click Create Config.
- Enter a name, the config content, and optional labels.
- Click Create Config.
Create a secret
Section titled “Create a secret”- Open Swarm → Secrets and click Create Secret.
- Enter a name, the secret value, and optional labels.
- Click Create Secret. You can’t view the value after saving.
Change a config or secret
Section titled “Change a config or secret”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.