the thing you are looking for is called digital locker.., eg :
https://www.passwordbox.com/legacylockeryou upload your documents, or passwords to it and set nominee or heir and then after you die, they can access that account which contains all the accounts and their passwords and digital copies of your documents.,
there is another site where you can upload scanned documents too, i cant recall its name , but i hope you get the idea.