@revbits/pam-secretman-js-plugin
TypeScript icon, indicating that this package has built-in type declarations

1.0.7 • Public • Published

RevBits PAM - Secret Manager JavaScript Plugin

Revits PAM

RevBits PAM Secret Manager JavaScript Plugin allows you to connect to your RevBits PAM Server and get secret values by connecting to Secretman Service.

Installation

It requires Node.js v16+ to run.

Install the dependencies and devDependencies and start the server.

npm i @revbits/pam-secretman-js-plugin

Plugins

This NPM Package uses following packages as well.

Package README
CryptoJS https://www.npmjs.com/package/crypto-js
Axios https://www.npmjs.com/package/axios

Functions

Function Definition
generateSecret generateSecret(hostName,secretKey,apiKey)
const secretman = require('@revbits/pam-secretman-js-plugin');
(async function(){
    const secretKey = '<Your Secretman Secret Key here>';
    const apiKey = '<You secretman API Access Key here>';
    const secretValue = await secretman.generateSecret('https://<Your revbits base url here>',secretKey,apiKey);
})();

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @revbits/pam-secretman-js-plugin

Weekly Downloads

2

Version

1.0.7

License

MIT

Unpacked Size

6.78 kB

Total Files

6

Last publish

Collaborators

  • revbits