# I Made swamp Deploy swamp

DevFeed: [I Made swamp Deploy swamp](<https://devfeed.tech/articles/i-made-swamp-deploy-swamp-62585.md>)

Original publisher: [Read original article](<https://swamp-club.com/feed/p/06619494-6b28-4a88-ba76-1c776c47b028/go>)

Author: kneel

Published: 2026-09-30T17:14:58Z

Content type: opinion

Language: en

Sources: [Swamp Club Feed](<https://devfeed.tech/sources/swamp-club-feed.md>)

Topics: [implementation](<https://devfeed.tech/topics/implementation.md>), [control-plane](<https://devfeed.tech/topics/control-plane.md>), [dogfooding](<https://devfeed.tech/topics/dogfooding.md>), [observability](<https://devfeed.tech/topics/observability.md>), [rate-limiting](<https://devfeed.tech/topics/rate-limiting.md>)

Tags: [account](<https://devfeed.tech/tags/account.md>), [aci](<https://devfeed.tech/tags/aci.md>), [ansible](<https://devfeed.tech/tags/ansible.md>), [audit](<https://devfeed.tech/tags/audit.md>), [auth](<https://devfeed.tech/tags/auth.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authorization](<https://devfeed.tech/tags/authorization.md>), [automation](<https://devfeed.tech/tags/automation.md>), [bootstrap](<https://devfeed.tech/tags/bootstrap.md>), [bugs](<https://devfeed.tech/tags/bugs.md>), [ca](<https://devfeed.tech/tags/ca.md>), [cel](<https://devfeed.tech/tags/cel.md>), [certificate](<https://devfeed.tech/tags/certificate.md>), [deploy](<https://devfeed.tech/tags/deploy.md>), [devops](<https://devfeed.tech/tags/devops.md>), [dogfooding](<https://devfeed.tech/tags/dogfooding.md>), [freeipa](<https://devfeed.tech/tags/freeipa.md>), [models](<https://devfeed.tech/tags/models.md>), [oauth](<https://devfeed.tech/tags/oauth.md>), [serve](<https://devfeed.tech/tags/serve.md>), [service](<https://devfeed.tech/tags/service.md>), [swamp](<https://devfeed.tech/tags/swamp.md>), [systemd](<https://devfeed.tech/tags/systemd.md>), [tls](<https://devfeed.tech/tags/tls.md>)

## AI overview

The author deployed `swamp serve` as an unprivileged `swamp:swamp` service using versioned swamp model runs for identity, certificates, files, and systemd setup. Real FreeIPA use exposed issues that passing mocks missed: service principals contain `/`, which the audit-record name guard rejected, and CN-only certificates lacked a SAN and were unusable by TLS clients. The author fixed the CSR to emit DNS SANs and checked the issued certificate with OpenSSL. FreeIPA writes also required adding the specific `System: Add Services` and `System: Modify Services` permissions to a new privilege. On the config-management side, omitted `ensure` made file operations report compliance while doing nothing; the service also needed to start in a directory its account could read. Finally, systemd `Restart=on-failure` repeatedly replaced processes waiting for device-code login, invalidating codes and triggering rate limits. The author recommends bootstrapping before systemd, temporarily disabling restarts, or using token authentication; they chose a server token for unattended recovery.

## Source excerpt

I stood up 'swamp serve' as its own FreeIPA service account using nothing but swamp models. The tool configured the host that runs the tool, and then my own OAuth flow spent an afternoon trying to lock me out.