Return projects that deploy key is enabled for when an admin calls `/deploy_keys` api
Problem to solve
The /deploy_keys
API endpoint does not return all projects for which it is enabled. This makes auditing and tracking keys use difficult across installations with many projects.
Further details
This would help with auditing and determining the use of the key.
Proposal
Return all projects that a deploy key is enabled for when an admin calls the /deploy_keys
API endpoint.
What does success look like, and how can we measure that?
All projects are returned that the deploy key is enabled for.
Links / references
Customer ticket -> https://gitlab.zendesk.com/agent/tickets/99901 (internal use)