Re:AWS's Egregious Egress
by MrStonedOne on Saturday July 24, 2021 @10:23PM
(#27946139)
honestly the biggest failure of swarm secrets is the inability to change them while things are using them.
automating secret usage across containers that are deployed via ansible scripts gets annoying in that situation.
For example, Swarm secrets can only be exposed as files, not as environment variables. You can argue this is more secure because file permissions are more granular than env vars, but IMO that's a silly argument in a container context because containers are almost always single-user to begin with. Moreover, the vast majority of containerized applications expect their secrets in env vars, so you have to resort to fragile entry point wrappers if you want to make use of Swarm secrets.