Possibility to export files by the api

What is a one sentence summary of your feature request?

Export files by API

Please describe your idea in detail. What is your problem, why do you feel this idea is the best solution, etc.

It should be possible to export files which are attached to a application or password over an api request to forward to a third party. E.g. export ssh keys.

How do you currently solve the challenges you have by not having this feature?

No current solution at all.