Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Containerized Grouper and Secrets

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Containerized Grouper and Secrets


Chronological Thread 
  • From: Greg Haverkamp <>
  • To: Jack Stewart <>
  • Cc: , csp study grouper <>
  • Subject: Re: [grouper-users] Containerized Grouper and Secrets
  • Date: Wed, 25 Apr 2018 10:02:57 -0700
  • Ironport-phdr: 9a23:Xh+nuhf5CcikeqwiLK2m++JLlGMj4u6mDksu8pMizoh2WeGdxcS4bR7h7PlgxGXEQZ/co6odzbaO6Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahb75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v9LlgRgP2hygbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQct0ARWpFQ81fSSpPDI2hZIcLFuYMPONUoo/grFUMsBS+HxGhC+HhyjFIiHH43rA03fo9HgzdxgMsA8gDvW7IoNnpNqofV/2+wqnSzTXEavNbwTbz6JLWfRAuvPqCX6h/cdTPxkk1FAPKlFCQqZT4ND6S2eQCqWib4PB+Ve2xkW4nqBt+oj23xso3jonGnYYVxkrL9SV+3oY4PNu1Q1N1b96jFZtfrSCaN41uT8MtRGFovyk6yrkYtpKhYCcKz5EnyhjCYPKEa4iF+g/vWPiSLDtiin9pYr2yiwuo/UWhyeDwTte43EpOoyZfkdTBtmoB2wLO5sWEUPdw/Fmt1DCS3A7J8O5EO1o7la/DJp4h3LEwkp0TvFzNHiDolkj6lquWeV4g+uSy5OTnZavmqoedN49ylA7+LrwjltGhDek7KAQDUXKX9Ouh2LH5/ED0Q61GjvgsnanYtJDaK94bpqm8AwJN3YYs8Ra/AC240NsGh3kHL0hKeBefj4XyP1HBO/T4Ae2wg1Srjjdn3+rGMaH5ApXRMnjDl6/sfbln605b1Qoz1c5Q54hNBrEcO/L8RFXxtMfDAx89Mgy02PrnCM5j2o8EWGKPBLOZP73IsV+O+O0vP/eAaJULtzngNvh2r8Lp2F0wklxVRrWkwpINdDjsG/Z9P0iGSWfpg9wBV2oGo1xtYvbtjQitSzNcL1a7Qa8m5Tg+EMryAo7DT56gmr+I2T+TGpdSIG9BFAbfQj/Ta4yYVqJUO2qpKch7n2lBDOD/Rg==

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.

Greg

 

Many thanks,
Jack


--
Jack Stewart
Solutions Architect, Identity and Access Management
University of Michigan
(734) 764-0853




Archive powered by MHonArc 2.6.19.

Top of Page