Skip to main content

Add SSH Key

Adds a public SSH key to the authenticated user's GitHub account. Requires that you are authenticated via Basic Auth, or OAuth with at least write:public_key scope.

External Documentation

To learn more, visit the GitHub documentation.

Parameters

ParameterDescription
KeyThe public SSH key to add to your GitHub account.
TitleA descriptive name for the new key.

Example Output

{
"value": {
"created_at": "2020-06-11T21:31:57Z",
"id": 2,
"key": "2Sg8iYjAxxmI2LvUXpJjkYrMxURPc8r+dB7TJyvv1234",
"read_only": false,
"title": "ssh-rsa AAAAB3NzaC1yc2EAAA",
"url": "https://api.github.com/user/keys/2",
"verified": false
}
}

Automation Library Example

Add Ssh Key with Github and Send Results Via Email

Automation LibraryPreview this Automation on desktop