Ask HN: Best practices for safeguarding master password in organization?
11–20 of 53 posts
Re: Ask HN: Best practices for safeguarding master password in organization?
#12There might be some open source tools that use https://en.wikipedia.org/wiki/Shamir%27s_secret_sharing , which allows you to set a threshold for a number of people in a group with distinct keys that have to coordinate to unlock them. eg 5 shares and 3 of 5 have to combine their keys to unlock.
Re: Ask HN: Best practices for safeguarding master password in organization?
#13Which password manager are you using? There shouldn’t be any sharing of a master password; each individual should have their own account and own master password.
I think the question is how to handle something like an AWS root password, which doesn't conceptually belong to a single individual and which isn't feasible to entirely eliminate from the system.
Put it in a shared vault which can be accessed by however many people require it. They access the shared vault via their own password manager account.
Re: Ask HN: Best practices for safeguarding master password in organization?
#14You can have 2 trusted people be administrators of the 1P account. Then you create a shared vault for anyone who needs access to the master credentials and store them all in said shared vault. You can have multiple vaults with multiple different sets of credentials and access (Ex a vault for HR is going to have different creds and people than a vault for DevOps). Note: The list of administrators and the list of people with access to the shared vault doesn't need to be the same people.
If someone who's in the trust circle quits or gets fired, you have someone else remove their access (just like any other offboarding) and go change the applicable credentials.
As for insider threat, there isn't a lot you can do if you give someone access to the credentials. For the admin, that should be easy - certainly, you can find 2 people in an organization who can be trusted implicitly (even if one of them is required to be the CEO/founder). If you're worried that someone is going to go rogue, then don't give them access to the information in the first place.
There is some stuff that just doesn't need to be broadly shared...lets say master passwords for AWS accounts. Really very very very few people will ever need those - mostly for "Break glass in case of emergency" purposes, right? So your Director of DevOps has access and maybe one other person. If you can't trust that Director of DevOps to have those credentials.... well honestly your organization has bigger issues.
Re: Ask HN: Best practices for safeguarding master password in organization?
#15Which password manager are you using? There shouldn’t be any sharing of a master password; each individual should have their own account and own master password.
I think the question is how to handle something like an AWS root password, which doesn't conceptually belong to a single individual and which isn't feasible to entirely eliminate from the system.
Shamir's Secret Sharing software, ssss, will let you encrypt a file and split it into pieces so that 3 of 5 people are needed to decrypt.
Re: Ask HN: Best practices for safeguarding master password in organization?
#16Others have already mentioned that you shouldn't be sharing a master password, and that's definitely true. I'll try to answer the question more holistically: RE: Sharing. Nobody should be sharing a password manager account. If this is happening it usually means somebody doesn't want to pay for the seats to have individual accounts. You give each user their own account, and if you need more than one admin, you have mo…
Re: Ask HN: Best practices for safeguarding master password in organization?
#17> but ultimately doesn't there have to be someone who solely controls the changing and sharing of the password, and granting privileges? Not necessarily. You can set up things so that that requires two persons ( https://en.wikipedia.org/wiki/Two-man_rule ), or any 3 out of a group of 5, etc ( https://en.wikipedia.org/wiki/Shamir%27s_secret_sharing )
Re: Ask HN: Best practices for safeguarding master password in organization?
#18Others have already mentioned that you shouldn't be sharing a master password, and that's definitely true. I'll try to answer the question more holistically: RE: Sharing. Nobody should be sharing a password manager account. If this is happening it usually means somebody doesn't want to pay for the seats to have individual accounts. You give each user their own account, and if you need more than one admin, you have mo…
Note that revocation is insufficient to protect current passwords: The user may have made a copy. For that you need password rotation and second factors like a hardware token.
Regardless, shared credentials should be reserved for when there no other solution is technically possible. At the very least when shared credentials cannot be avoided, try to split it into multiple domains - read-only vs "production open heart surgery", devs vs prod admins, automation vs humans, etc. For automation, always make new tokens for each use - and never store them, as you can always make more. Consider only issuing credentials to people upon request, and revoking them after the fact. There are many mechanisms to reduce risk.
Re: Ask HN: Best practices for safeguarding master password in organization?
#19> And what if that person gets fired or decides to become a malevolent actor Some of that is covered from a legal angle; they might be able to technically pull it off, but they'd also go to jail for doing so
Possibly putting the actor in jail and having them go bankrupt over damages does not help the company recoup their losses.
Re: Ask HN: Best practices for safeguarding master password in organization?
#20Others have already mentioned that you shouldn't be sharing a master password, and that's definitely true. I'll try to answer the question more holistically: RE: Sharing. Nobody should be sharing a password manager account. If this is happening it usually means somebody doesn't want to pay for the seats to have individual accounts. You give each user their own account, and if you need more than one admin, you have mo…
Re: root account password in a password manager vault. The problem with this from an enterprise-security perspective is that, once the password has been shared with somebody, it's difficult to prevent them from later using it in a way that's not authorized, or accidentally disclosing it to someone who shouldn't have it (e.g., by having their machine compromised). I suppose that a TOTP secret or FIDO/U2F dongle doesn'…
You could also rotate the root password every time there's a departure from the teams that have visiblity if it's that big of a deal.