secretsmgr handbook
Editor sign-in

What a secret is

A secret is a piece of information whose only protection is that few people know it. A database password protects your database because the string is not widely known. The moment it is widely known, it protects nothing, and there is no way to un-know it.

That last part is the whole problem. A stolen laptop can be wiped. A stolen password cannot be un-read. This is why everything below eventually comes back to changing secrets rather than hiding them better.