r/saltstack • • Aug 26 '21

secure pillar tool

So I wrote a tool a while back to manage the secure pillar files at my company and they were cool enough to let me open source it. I suck at self promotion so it just occurred to me that maybe folks here could use it.

https://github.com/Everbridge/generate-secure-pillar

There are a couple of wiki pages with examples and whatnot. I hope some folks find it useful.

15 Upvotes

4 comments sorted by

1

u/beefstew4u Aug 27 '21

This is really cool, gonna play around with it later. Thanks for sharing!

1

u/edlitmus Aug 27 '21

Thanks! I'd appreciate any feedback you might have.

1

u/[deleted] Aug 28 '21

[removed] — view removed comment

1

u/edlitmus Aug 28 '21

We typically have our secure data in separate files, just to keep things easier to manage. There is a performance hit with PGP but on modern hardware it isn't nearly so bad.

The tool can be used for whole files or just on a specific part of a file. I would recommend keeping all secrets separate in their own file just to make it easier to rotate keys and keep insecure data readable without large blobs of PGP data in them.