Having a password manager is incredibly useful when someone dies and you need access to their accounts. I think bitwarden and probably others lets you grant emergency access to someone, definitely leaving it in my will.
ummmmmm, does that not set off some warning bells to you?
Also if I am dead, I don't want or need my passwords shared. And yes I have been an executor for a will, no passwords are needed other then the book of faces (also fuck meta, not cool keeping dead peoples pages active even with death notice).