ssh_key_helpers | R Documentation |
SSH key helpers
github_add_key( pubkey, repo = get_repo(remote), user = get_user(), title = "travis", remote = "origin", check_role = TRUE ) check_admin_repo(owner, user, repo) get_role_in_repo(owner, user, repo) get_public_key(key) encode_private_key(key) check_private_key_name(string)
pubkey |
The public key of the SSH key pair |
repo |
|
user |
The name of the user account |
title |
The title of the key to add |
remote |
|
check_role |
Whether to check if the current user has the permissions to
add a key to the repo. Setting this to |
owner |
The owner of the repository |
key |
The SSH key pair object |
string |
String to check |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.