has vault_token: true
vault_token: { doc: 'Token to use to access the vault', env: 'VAULT_TOKEN' }
secret_shares: 3
Setting to null as the default causes errors.
_Result_
C:\Work\ioe\vaulted\node_modules\convict\lib\convict.js:415
throw new Error(errBuf);
^
Error: ssl_cert_file: must be of type String
ssl_pem_file: must be of type String
ssl_pem_passphrase: must be of type String
ssl_ca_cert: must be of type String
proxy_address: must be of type String
proxy_port: must be of type String
proxy_username: must be of type String
proxy_password: must be of type String
at Object.rv.validate (C:\Work\ioe\vaulted\node_modules\convict\lib\convict.js:415:15)
at config (C:\Work\ioe\vaulted\lib\config.js:145:8)
at new Vaulted (C:\Work\ioe\vaulted\lib\vaulted.js:26:17)
at Object.<anonymous> (C:\Work\ioe\vaulted\sample.js:8:13)
at Module._compile (module.js:435:26)
at Object.Module._extensions..js (module.js:442:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:311:12)
at Function.Module.runMain (module.js:467:10)
at startup (node.js:136:18)
at node.js:963:3
[x] Support vault_token usage (defined but never used)
[x] Support optional configuration options
[x] Maintain backwards compatibility of accepting options during construction
Optional configurations not supported based on library documentation. _From
convict
documentation:_Most of the configurations do not have defaults as they are considered optional.
_Accessing values with no defaults_
_Result_
_Accessing values with value set on the
env
__Result_
Setting to
null
as the default causes errors._Result_
vault_token
usage (defined but never used)