R/read.R

Defines functions read_secret.character read_secret

#' @export
read_secret <- function(x, ...) {
  UseMethod("read_secret")
}

#' @export
read_secret.character <- function(x, ...) {
  assert_package("brio")
  secret(brio::read_file(x))
}
shunsambongi/himitsu documentation built on April 23, 2020, 12:46 a.m.