Skip to content

Latest commit

 

History

History
65 lines (50 loc) · 944 Bytes

Sys-Functions.md

File metadata and controls

65 lines (50 loc) · 944 Bytes

Hashi Vault JS

System Functions List

  • healthCheck(params)
/**
* @param {Object} params
* @returns {Promise<Object>}
*/
  • sysHostInfo(sudoToken)
/**
* @param {String} sudoToken
* @returns {Promise<Object>}
*/

Note: sudoToken is a Vault token that has sudo capability on the sys/* path.

  • sysCapabilities(sudoToken, token, paths)
/**
* @param {String} sudoToken
* @param {String} token
* @param {[String]} paths
* @returns {Promise<Object>}
*/
  • sysCapabilitiesSelf(token, paths)
/**
* @param {String} token
* @param {[String]} paths
* @returns {Promise<Object>}
*/
  • sysInternalCounters(sudoToken, type)
/**
* @param {String} sudoToken
* @param {Const} type
* @returns {Promise<Object>}
*/
  • sysMetrics(sudoToken, format)
/**
* @param {String} sudoToken
* @param {Const} type
* @returns {Promise<Object>}
*/