Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Add support for project ssh keys.#13

Open
NJichev wants to merge 1 commit into
packethost:masterfrom
NJichev:add-project-ssh-key-support
Open

Add support for project ssh keys.#13
NJichev wants to merge 1 commit into
packethost:masterfrom
NJichev:add-project-ssh-key-support

Conversation

@NJichev

@NJichev NJichev commented Sep 12, 2017

Copy link
Copy Markdown

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

lindavs commented Aug 29, 2018

Copy link
Copy Markdown

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants