this post was submitted on 14 Dec 2023
35 points (100.0% liked)

Selfhosted

38707 readers
677 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

Hi everyone, I was perusing through Conjur and Vault documentation, since I'm starting to think that learning a secret-management system might be a worthwhile investment with the app secrets and SSH keys and CA certificates around.

I was wondering, what do you use in your network? I plan to take a look at Teleport's documentation too, was curious about what the community uses at home.

Thanks!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 9 months ago (4 children)

I'm using pass at home, but I've used hashicorp vault at a few jobs with great success.

IBM just forked it to openBao as well to get around the business license, if that's a concern for your. But honestly I'd trust hashicorp more than IBM at this point.

[–] [email protected] 4 points 9 months ago (1 children)

Please excuse the absolute newbie question - What's "pass"?

[–] [email protected] 3 points 9 months ago (1 children)

Pass for personal use is great. Especially if paired with a self hosted private git repo like gitea.

Pass works well on all platforms I've tried, even android and wsl (although I've not tried with iPhone).

In a corporate setting. The biggest questions is going to be if there is already a secret store that has an API. If security will let you roll your own. How is it allowed to be networked. Who are the preferred vendors and is there any enterprise support available.

[–] [email protected] 1 points 9 months ago (1 children)

Pass works decently for us (fine except for the GPG key management aspect really) and allows us to have our Puppet config management write new secrets easily and read secrets for config file generation and similar purporses.

[–] [email protected] 1 points 8 months ago (1 children)

How do you securely authenticate, restrict access to secrets and store secrets with pass? Other than GPG authentication and discrete keys for different secrets (in which case, how would you automate key policies and life cycles?)

[–] [email protected] 2 points 8 months ago

We do use GPG keys that are essentially signed by one of our admin keys which is set to fully trusted on the client machines so that keys it signs are trusted with just the one signature. The keys themselves are generated with revocation certificates for those admin keys and a limited lifetime as well by our helper script. The signed keys are stored in the pass repository in a separate folder and the helper script has an idempotent import command which also checks a few other settings and common issues and generates missing revocation certificates after an admin key is replaced. Any automated changes in the repository itself (such as updating the .gpgid files in project directories to include all project members and reencryption afterwards) are made by our puppet master.

It certainly isn't perfect but it works well enough.

[–] [email protected] 2 points 9 months ago

Indeed, I had heard of OpenBao recently. If it's a Vault replacement, I'm assuming good support with API and orchestration tools. I'll check it out, thanks.

How is pass treating you?

[–] [email protected] 1 points 9 months ago

If you like pass, you might want to look into passage