Skip to contents

Base object type

Base object type

Details

Base object used by vaultr for all objects

Methods


Method new()

Construct an object

Usage

vault_client_object$new(description)

Arguments

description

Description for the object, will be printed


Method format()

Format method, overriding the R6 default

Usage

vault_client_object$format(brief = FALSE)

Arguments

brief

Logical, indicating if this is the full format or a brief (one line) format.


Method help()

Display help for this object

Usage

vault_client_object$help()

Examples


server <- vaultr::vault_test_server(if_disabled = message)
#> ...waiting for Vault to start
#> ...waiting for Vault to start

if (!is.null(server)) {
  client <- vaultr::vault_client(addr = server$addr)
  client$operator$format()
  client$operator$format(TRUE)
}
#> [1] "Administration commands for vault operators"