key-crud function

Create, update, and delete ssh keys.

Create, update, and delete ssh keys.

key_create(name, public_key, ...) key_rename(key, name, ...) key_delete(key, ...)

Arguments

  • name: (character) The name to give the new SSH key in your account.
  • public_key: (character) A string containing the entire public key.
  • ...: Other options passed on to low-level API methods.
  • key: (key) Key to modify.

Examples

## Not run: k <- key_create("key", readLines("~/.ssh/id_rsa.pub")) k <- key_rename(k, "new_name") key_delete(k) ## End(Not run)
  • Maintainer: Mauricio Vargas
  • License: Apache License (>= 2)
  • Last published: 2023-04-19