Class: VaultLayer

VaultLayer()

HashiCorp Vault layer for config

Constructor

new VaultLayer()

Source:

Extends

Members

name

Get class name

Inherited From:
Source:

Methods

get(path)

Get config value by path

Parameters:
Name Type Description
path string
Inherited From:
Source:

(async) init() → {Promise.<void>}

Initialize layer and load it's data, override it

Overrides:
Source:
Returns:
Type
Promise.<void>

(async) loadData() → {Promise.<void>}

Load data from vault

Source:
Returns:
Type
Promise.<void>

(async) loadPath(path, keyopt) → {Promise.<any>}

Parameters:
Name Type Attributes Description
path string
key string <optional>
Source:
Returns:
Type
Promise.<any>

set(path, value)

Set config value by path

Parameters:
Name Type Description
path string
value *
Inherited From:
Source: