Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

[FR] Not possible to get certain information regarding Deploy Keys via API

Solved! Go to Solution.

I would like to get the following information regarding Deploy Keys through the API:

- who added Deploy Key

- when was the last time a Deploy Key was used

 

Here is an example of current response from List deploy keys API Endpoint

[
  {
    "id": 1,
    "key": "ssh-rsa AAA...",
    "url": "https://api.github.com/repos/octocat/Hello-World/keys/1",
    "title": "octocat@octomac",
    "verified": true,
    "created_at": "2014-12-10T15:53:42Z",
    "read_only": true
  }
]

These information are available through UI.

Deploy keys 2019-08-21 01-53-26.png

Is there any chance that you could add these information to response of the List deploy keys API Endpoint?

1 Reply
Solution
Community Manager
Message 2 of 2

Re: [FR] Not possible to get certain information regarding Deploy Keys via API

Thanks for this feedback! We're always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I've logged your feature request in our internal feature request list. Though I can't guarantee anything or share a timeline for this, I can tell you that it's been shared with the appropriate teams for consideration.

Please let me know if you have any other questions.