Is there a way to protect my digital assets if I die?

Is there a way to protect my digital assets if I die?