I think some banks do offer restricted keys that only allow you to access your own accounts - I think Starling in the UK does this; Monzo used to too, but I'm not sure if that's the Open Banking API, or just another API.
[1]: https://developer.starlingbank.com/
[3]: https://openbanking.atlassian.net/wiki/spaces/DZ/pages/16385...