grouper-users - Re: [grouper-users] Containerized Grouper and Secrets
Subject: Grouper Users - Open Discussion List
List archive
- From: Darren Boss <>
- To:
- Subject: Re: [grouper-users] Containerized Grouper and Secrets
- Date: Wed, 25 Apr 2018 19:44:19 +0000
- Ironport-phdr: 9a23:RNufFRUunn0YpjuyTcJXQ48r5KHV8LGtZVwlr6E/grcLSJyIuqrYbReEt8tkgFKBZ4jH8fUM07OQ7/i7HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjWwba98IRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KhlUh/ojDoMOSA//m/Zl8d8iLtXrRKkqxF53oXaYpyaNOBmc6zSc9MVR2pPUMhSWSJcHI2zc5ACAPAdMetCtYTxu0cCoBm4CAKxBO3v0DhIhnru0KM0yeshCxvG0xImH9kTrXnUq871NLwPWu2y0abH1y/Db+lI1jf78oTHaRchoeqXXb9rbcXRzkwvFxvYjlWMt4PqIyma1uIXvGeG9eVsT/6ghHQ+pgx3vzOhyMAsiozTiYIUzFDJ7Tl2z5wxJdKkVU57ZcKrH4FWty6AKoR5WNkuTH1ytyoixb0Gvpm7fCcOyJs53RLQd/uHc42Q7h3/U+aRJC94hG95eL2hmxm9606gxffhWcauylpFsjBKn9/RvX4Ozxze8taLReFh8ku93DuDyg/e5+FYLU0xmqfXN4ItzaI1m5UPrUjOGir7lUDogKOIaEop/PWj5f79bbX8vJCcMpd5igHgPaQqncyyGeE4PRIPX2if4Oi92rjj8VHgTLRFkPE6jLfWvIrVJcQcoa65DAtV3Zg55xmjCDem1cwUnXgBLF1bZBKKl5blNEvSLPzkCPqznluhnTd3y/3DMbDtHonBIWTGnbj9Ybpw70tRxQ8twdxB+Z1YErQBL+jyWk/1utzYFBg5Mwmszun6Etp9zJkeVnyJAqODK6zStkSI5vk0LuaQY48VvS79K+U55/HwkXA2g1kdcrO00pQNcny3Au5pL12DYXXwmtcBDXsKvg0mQezlkl2CViNTZ26sUKIm/z07FZmmApnZRoC2m7GB2Ca7HoZKZmBdFFyAC3bod4OYW/gSciKSJNFukiAaWbS7VYAuyAyu50fGzO9oNO3J4iAC8I/42cJuz+zViRwo8zFoVYKQ33zeYXtzmzYkTiUs0aY3i0tm0R/X3aFimfFeU9ZU/OhhWQA/LYPAwudzDdn+U0TKd4HaGx6dXty6DGRpHZoKyNgUbhM4Rtg=
If you are using Kubernetes then you can do this with secrets and config maps. Both secrets and config maps can be read from files which are then stored in etcd and can be mounted into the docker image as files so you don't have to bake them into the Docker images.
-- I've done this for Shibboleth IdP deployment and was planning to do this for Grouper as well but haven't got that far yet.
On Wed, Apr 25, 2018 at 1:03 PM Greg Haverkamp <> wrote:
On Wed, Apr 25, 2018 at 9:48 AM, Jack Stewart <> wrote:I would like to start out by saying that the new role-based Grouper containers are great! It was very easy to build the images.Are you referring to the TIER image?Now my question is, what are other schools doing with regard to their Grouper configurations? Are you "burning them into" storing them in the containers themselves, or are you using secrets?Converting an application like Grouper to use secrets would be a LOT of work. Effectively, you would need to convert all of the settings to environment variables. How would you deal with the sources.xml files which, by design, need to be customized?We had just been wrestling with secrets-management, and I was mid-roll-out of Hashicorp Vault as a generalized solution. So, in my current form, which I just deployed last week, I take the TIER image, use Docker Secrets to bootstrap the Vault credentials, and then use consul-template to present the secrets to Grouper. I store all of the generated config files in a tmpfs volume, so they go away when the container is stopped. I've got a few more tweaks, but I'm largely pleased with where it is now.I decided to go the Vault route for a couple of reasons. One was that I already had Vault running, though not actually doing much. The other was that we have other plans for Vault and secrets management that Docker Secrets don't solve, in particular around dynamically generated secrets. (Now that Vault can dynamically generate Google Service Account keys, I'm looking at modifying the google-apps-provisioner to deal with JSON files... That, or I'll write a consul-template plugin to write out a pkcs12 file.) And finally, we didn't really want to be wedded to Swarm. Swarm is conveniently for on-prem, but that's not where we see our future.GregMany thanks,Jack--Jack StewartSolutions Architect, Identity and Access ManagementUniversity of Michigan
Darren Boss
Senior Programmer/AnalystProgrammeur-analyste principal
(o) 416.228.1234 x 230
155 University Ave, Suite 302 Toronto, ON M5H 3B7
www.computecanada.ca / www.calculcanada.ca
@ComputeCanada
- [grouper-users] Containerized Grouper and Secrets, Jack Stewart, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Christopher Hubing, 04/25/2018
- RE: [grouper-users] Containerized Grouper and Secrets, Hyzer, Chris, 04/26/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Jack Stewart, 04/26/2018
- Re: [grouper-users] Containerized Grouper and Secrets, John Schrader, 04/29/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Christopher Hubing, 04/30/2018
- Re: [grouper-users] Containerized Grouper and Secrets, John Schrader, 04/29/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Jack Stewart, 04/26/2018
- RE: [grouper-users] Containerized Grouper and Secrets, Hyzer, Chris, 04/26/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Greg Haverkamp, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Darren Boss, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Jack Stewart, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Darren Boss, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Greg Haverkamp, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Darren Boss, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Jack Stewart, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Darren Boss, 04/25/2018
- Re: [grouper-users] Containerized Grouper and Secrets, Christopher Hubing, 04/25/2018
Archive powered by MHonArc 2.6.19.