Ask HN: In a microservice architecture, how do you handle managing secrets?
11–20 of 60 posts
Re: Ask HN: In a microservice architecture, how do you handle managing secrets?
#12Another option for your list, which you'll have to evaluate for your use case: https://wiki.openstack.org/wiki/Barbican I've been evaluating most of these same options for my use case, but haven't made any decisions yet.
Re: Ask HN: In a microservice architecture, how do you handle managing secrets?
#13A simple solution if you are in AWS is S3 with instance profiles for access.
Re: Ask HN: In a microservice architecture, how do you handle managing secrets?
#14I'm pretty happy with this solution from Strongauth. http://keyappliance.strongauth.com/ You can secure the root for it with TPM or HSM.
Thanks!
Re: Ask HN: In a microservice architecture, how do you handle managing secrets?
#15It also depends on how secret it needs to be. For most of our secrets (those used for configuration) we use Consul.
Thanks for your input!
Re: Ask HN: In a microservice architecture, how do you handle managing secrets?
#16Re: Ask HN: In a microservice architecture, how do you handle managing secrets?
#17it's a huge pain point for us. We're a .NET shop rolling our own that mimics/overlays app.config and web.config patterns for both dev and production usage. Our concern is less on how do you get the secrets to the box (though that's obviously important) and more on how do you keep an attacker who has started penetrating your infrastructure from gaining control of the infrastructure that holds your secrets.
Accessing secrets as needed at runtime instead requires some kind of extremely reliable service nearby. This is what I find most concerning about Vault since it can lock on you if the cluster goes down.
Re: Ask HN: In a microservice architecture, how do you handle managing secrets?
#18it's a huge pain point for us. We're a .NET shop rolling our own that mimics/overlays app.config and web.config patterns for both dev and production usage. Our concern is less on how do you get the secrets to the box (though that's obviously important) and more on how do you keep an attacker who has started penetrating your infrastructure from gaining control of the infrastructure that holds your secrets.
I hate having to manage web.config but I get your point about keeping attackers at bay (and not providing pivot points).
[1]: http://docs.asp.net/en/latest/fundamentals/configuration.htm...
Re: Ask HN: In a microservice architecture, how do you handle managing secrets?
#19Azure Key Vault! Disclosure: am dev in Azure, although not on this specific product. https://azure.microsoft.com/en-us/services/key-vault/