SSH key helpers
Arguments
- pubkey
The public key of the SSH key pair
- repo
[string]
The repository slug to use. Must follow the "user/repo
" structure.- user
The name of the user account
- title
The title of the key to add
- remote
[string]
The Github remote which should be used. Defaults to "origin".- check_role
Whether to check if the current user has the permissions to add a key to the repo. Setting this to
FALSE
makes it possible to add keys to other repos than just the one from which the function is called.- owner
The owner of the repository
- key
The SSH key pair object
- string
String to check