Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for project ssh keys. #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NJichev
Copy link

@NJichev NJichev commented Sep 12, 2017

This commit adds support for creating project specific keys and
retrieving project specific ssh keys.

The missing http requests are described in the docs
The added ones are:

  • GET /projects/{id}/ssh-keys
  • POST /projects/{id}/ssh-keys

I tried following the style so far, I didn't find a test file, so let me
know if you want me to write some tests(although there were fixtures, so maybe I am just blind). I believe the code is self explanatory.

This commit adds support for creating project specific keys and
retrieving project specific ssh keys.

The missing http requests are described in the [docs](https://www.packet.net/developers/api/sshkeys/)
The added ones are:
  - `GET /projects/{id}/ssh-keys`
  - `POST /projects/{id}/ssh-keys`

I tried following the style so far, I didn't find a test file, so let me
know if you want me to write some tests. I believe the code is self
explanatory.
@lindavs
Copy link

lindavs commented Aug 29, 2018

@dkenzox can you check if this commit should merge or not, if not close please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants