I don’t have the technical capabilities to even know if it’s possible on nostr, but on Bluesky you can easily create revocable passwords. Once you create it and copy it, it’s hidden forever. Deleting it revokes access. They’ve had this feature longer than they’ve had gif support. https://image.nostr.build/a1f6442b69a94d5f669af801b841eb89f94fd017eaad4d59212864333ff6f3b4.jpg
I have ideas for this, but no coding skills. I’d love to share my thoughts about it with any interested developers.