A template for your review, not legal advice. New Zealand and Australia have no statute equivalent to the US RUFADAA: authority rests on the will, the executor’s ordinary powers and each platform’s terms. Adapt it to the client’s jurisdiction and your own precedents.
The clause, headed Digital assets and digital accounts, has five numbered paragraphs (definitions, authority, consent, passwords, wishes) and an optional RUFADAA paragraph for US estates. The passwords paragraph is the one to keep: it says the executor gets authority, not credentials, and that credentials are wherever the client’s envelope says they are. Copy puts the text on the clipboard for your precedent system. Print produces a page with a strapline noting it was prepared for your practice. The client’s Executor Kit carries a matching digital assets letter, so the will and the envelope say the same thing.