6 ms·
Ask HN: How does your company manage secrets like API keys?
Fellow HNers,
I'm collecting data on how companies of various sizes handle sharing and deploying secrets like API keys, database credentials, etc. in both production and development.
If you have a minute, I would love to get your answers to this anonymous, 4 question, multiple choice survey:
https://goo.gl/forms/Mx97T9HD3s91DFLv1
In a couple days, I'll aggregate and post the results along with some analysis and pretty graphs.
Full disclosure: I'm the founder of EnvKey[1], a secrets management service, which is why I'm especially interested in this topic.
1 - https://www.envkey.com
- nly 9y agobadly
- howToLearnSpark 9y agohttps://www.vaultproject.io https://www.vaultproject.io and so should you
- insomniacity 9y agoWell, maybe not the founder of envkey... he might have colleagues depending on him :)
- danenania 9y agoI'm actually a big fan of Vault and greatly respect/look up to the Hashicorp team :) I think Vault can be great for teams that are sufficiently large and sophisticated on the DevOps front. I felt there was a need for more of a Heroku/1Password-style tool for teams that want a secure way to manage secrets without undertaking a big project to setup/maintain their own secrets server.
- scarface74 9y agoI don't "get" Vault I just played with it a little bit. I'm all in on Consul and Nomad and we are using them now for production. Right now, I'm encrypting sensitive values in Consul for expediency. I'm going to implement Vault with an AWS back end eventually.
- stabbles 9y agopass [1] is great. The simple folder structure is great, it's built on git, it works with multiple pgp keys, and different folders can have different keys. [1] https://www.passwordstore.org/ https://www.passwordstore.org/
- johnnyballgame 9y agoNo offense, but anyone who is serious about securing their keys is not going to plop that information into a Google form.
- jasonpeacock 9y agoAnyone who is serious about securing their keys is not going to rely on security through obscurity. Any good design should be able to withstand public scrutiny.
- johnnyballgame 9y agoWho said anything about relying on it? But feel free to hand over your specific security details to someone you don't even know. And make sure to attach your email address as on the form. :)
- danenania 9y agoTo be clear, the company name/email field is optional. It's included so that I can reach out to folks who may be interested in discussing this in more depth or want to improve their approach. Unless you voluntarily submit your company/email, the responses are 100% anonymous and I have no way whatsoever of knowing who you are or what company you work for.
- hluska 9y agoFrom a risk management point of view (I'm over 40 so I can say that with a straight face), relying on obscurity for key management is an unbelievable shitshow. If you rely on nobody knowing how you store your keys to protect your keys, you might find yourself obligated to change how you store your keys every single time that someone quits. Secret storage should really be solid enough that you could publish how you manage your secrets on a billboard without any meaningful impact to your probability of breach.
- agnivade 9y agoSo your only argument is that if someone quits, the secrets will spill out ? I am a big fan of security by obscurity actually. I mean, by announcing to the whole world how you store your secrets, you are telling all the hackers in the world what protocols, what algorithms should they target against. Then one day you suddenly have a 0-day vuln and boom, everything is gone. Compare the risks of that to an employee leaving and leaking the secrets.
- nsaje 9y agohttps://github.com/Zemanta/go-secretcrypt https://github.com/Zemanta/go-secretcrypt
- deleted 9y ago[deleted]
- gregopet 9y agoI started building a tool like this for internal use last year, but it was too busy to actually get something noteworthy done, now I would have to get motivated again. The idea was to have a simple encrypted storage of markdown (or something similar, I actually prefer Asciidoc myself) files, with possible binary attachments. I wanted to build in a break-the-glass function: if something goes wrong somebody authorized can click a button at which point all alarms start ringing but the person can read the contents (perhaps after a certain time delay during which opening can be prevented). Would be great for secrets, emergencies, and also for non-tech uses.. wills for example :) (if someone decides to build this just let me know because I'd totally use it :P )
- fanf2 9y agoWe aren’t quite sorted enough to use hashi vault everywhere, so a few of our teams are using https://dotat.at/prog/regpg/ https://dotat.at/prog/regpg/ which is a wrapper around gpg that enormously simplifies key management, in a way that works well with a version control system. It has hooks to work with git and ansible, because that’s what we use, but the core functionality can work with other tools equally well. You might also consider https://github.com/StackExchange/blackbox https://github.com/StackExchange/blackbox which does the same job in a similar way.
- nitely 9y agoAWS KMS
- ppetty 9y agoI’m not telling … Sorry, couldn’t resist.
- drcongo 9y agoI wish KeyBase would take it on.
- indescions_2018 9y agoVault. AWS KMS. GCloud KMS & IAM. More on "secrets at scale" from recent Real World Crypto 2018 talks: https://rwc.iacr.org/2018/ https://rwc.iacr.org/2018/
- diaz 9y agoAlways keeping the best practices that were already in place... So obviously not good :D
- ojhughes 9y agoCredHub had been developed by folks at Pivotal to manage secret storage and generation, in an arguably more opinionated way than Vault https://github.com/cloudfoundry-incubator/credhub https://github.com/cloudfoundry-incubator/credhub
- jamesmishra 9y agoWe use Segment's chamber[1] as a frontend to AWS System Manager Parameter Store[2]. I've found it pretty easy to set up, use, and not think about it. It's great for integrating with AWS IAM and whatnot. [1]: https://github.com/segmentio/chamber https://github.com/segmentio/chamber [2]: https://aws.amazon.com/blogs/mt/the-right-way-to-store-secrets-using-parameter-store/ https://aws.amazon.com/blogs/mt/the-right-way-to-store-secre...
- AdamMills 9y agohttps://github.com/AGWA/git-crypt https://github.com/AGWA/git-crypt
- panjaro 9y agoWe print it in a paper, seal it in envelope and give it to company owner. He then keeps it in his Safe.
- lmlsna 9y agoPaste into word doc.