9 ms·
https://www.vaultproject.io/ https://www.vaultproject.io/ We use Hashicorp's Vault product to manage SSH credentials, TLS certificates, as well as application
by toomuchtodo 6y ago
https://www.vaultproject.io/ https://www.vaultproject.io/
We use Hashicorp's Vault product to manage SSH credentials, TLS certificates, as well as application secrets across thousands of users, tens of thousands of virtual machines, and hundreds of applications.
We pay for the enterprise version, but the free version is more than capable for most needs. Avoid a password manager if you can, it leads to poor security practices and availability issues depending on how and where the data is stored (IMHO, YMMV). Use single sign on where ever possible.
Disclaimer: No affiliation other than a satisfied customer and frequent end user of the product.
- XCSme 6y agoLooks cool, one small nitpick is regarding their cookies banner. You can click "preferences" and it says "To opt out of a category of data collection, set the toggle to “Off” and save your preferences". Not only it is opt-out, but the mentioned "off" toggle doesn't even exist.
- XCSme 6y agoThey also have a link to their Privacy policy, which is a 404: https://www.vaultproject.io/privacy https://www.vaultproject.io/privacy
- rnotaro 6y agoI bet it's because it's a relative link. I don't get the cookie banner because I'm from canada but the links at the bottom redirect to Hashicorp. The privacy policy is here: https://www.hashicorp.com/privacy https://www.hashicorp.com/privacy
- XCSme 6y agoA bit weird to have a company working with such sensitive data not care about privacy.
- ryanisnan 6y agoI think it's a bit disingenuous to claim that they do "not care about privacy". Hashicorp has demonstrated they do, on many occasions.
- XCSme 6y agoWell, this was my first contact with this company and this was my experience. Probably they pay a lot more attention to their products than they do to their websites.
- wadkar 6y ago+1 for vault. You can setup your own instance if you like. IMHO, initial ramp up time will be worth the long term benefits.
- vegardx 6y agoIt's also very helpful to be able to audit access. When people leave, and you have tons of static secrets, it's very helpful to be able to see what secrets they have accessed and that now needs to be rotated.
- thesimon 6y agoEspecially convenient with KMS auto-unsealing (https://learn.hashicorp.com/vault/operations/ops-autounseal-aws-kms https://learn.hashicorp.com/vault/operations/ops-autounseal-...)
- ppierald 6y agoThe KMS autounseal is especially convenient, but you have to know that there is no silver bullet in crypto. You are trading off the convenience of the auto-unseal (and frankly, the fact that this can happen automatically in the middle of the night when your server reboots) against the security of your root unseal key itself. The only thing protecting the unseal key is access to your KMS. So one rogue SRE can unseal the vault rather than requiring collusion of 1+ SRE members. Again, this comes down to your risk tolerances and what you are protecting. I think for most workloads, the value KMS autounseal brings is worth the risk, but if you want to have tightest control, then the Shamir Split (M of N) is the best option.
- weitzj 6y agoAnd for the rogue dev you have CloudTrail/AuditLogs. I find it hard to build initial trust in the system, without involving the trust of an administrator + subsequent automation.
- zemnmez 6y agoThis is the best answer I know of. A secret management system is what you want, for several reasons: 1) Secrets checked into code means when the code gets stolen, this is an unimaginably major breach. Code tends to get stolen eventually and most tech shops will never know / only know years later because they don't have access to the channels who will sell your code. 2) You can track secrets you have in storage, who has access and who is using them 3) When a secret does get stolen, they can be rotated with ease. You do not want to be spending on the order of man months manually auditing a huge code base and manually indexing and rotating every secret. With good setup you can do this without taking any systems down. 4) Most support HSM / KMS systems which encrypt the data using a key in a hardware security module, which, in theory the key cannot physically leave – the HSM will re-encrypt all your other keys. The HSM, if used properly can be a continuous bottleneck to decrypting any information, meaning, if your encrypted objects are stolen, the attacker needs active access to your (e.g. AWS) KMS system to decrypt them. Password managers are good for individual users, but provide bad security characteristics for development and deployment. AWS Secrets manager, AWS's competitor to Vault used a similar system I worked on that was developed within Twitch for this purpose.
- baby 6y agoI'm always a bit antsy about Vault. You do end up having all your secrets in one place.
- rorykoehler 6y agoSecurity and convenience are general opposites. You have to find a compromise that suits your organisations risk profile. For example my BIL works as an engineer on a mass rapid transit system and they have air gapped all their systems.
- zemnmez 6y ago'in one place' is i think using a model of security that's too simple to think about the way Vault works. Those secrets can only be properly decrypted by the right services. To everyone else, they're just noise.
- varikin 6y agoThis just pushed the problem further down the stack. You should have keys to unlock vault when it is restarted. How do you secure those keys?
- mmm_grayons 6y agoI can't seem to understand how a "secrets manager" helps things. Could someone who does ELI5 why it's better than a config file with permissions locked down?
- bvandewalle 6y agoIt makes sense at scale. If you are a company of two there are probably better solutions. At scale, you can very granularly define policies for each secret. When a secret is accessed, it is done so through a user or application identity. Each access is also logged.
- scott00 6y agoSo then how do you manage the secret that authenticates an application's identity? And what good is the logging if after an application has the secret it can do whatever it wants with it?
- bvandewalle 6y agoif it is an instance on the cloud, GCP and AWS let you define ServiceAccounts that get populated on the Instance at boot time. you should only let the instance access the secret it requires.
- rdslw 6y agoand how do you manage secrets that let you define that ServiceAccounts? As OP wrote, you did not solve it, just moved it to a different level.
- closeparen 6y ago
- chinesempire 6y ago+1 for Vault, where I work we are in the process of switching to it. Automatic password rotation for AD credentials[1] is especially useful to us. Meanwhile we use the project level variables Gitlab API[2] Secrets are kept in Gitlab and requested by applications through a token that can easily be revoked [1] https://www.vaultproject.io/docs/secrets/ad#password-rotation https://www.vaultproject.io/docs/secrets/ad#password-rotatio... [2] https://docs.gitlab.com/ee/api/project_level_variables.html https://docs.gitlab.com/ee/api/project_level_variables.html
- pacomerh 6y agoSame at our company we use vault via CLI
- mirekrusin 6y ago"Disclosure", not "disclaimer".
- toomuchtodo 6y agoWas in a rush between meetings, mea culpa.
- dkdk8283 6y agoHow do you store the vault seal keys?