1.0.7 • Published 8 months ago

@revbits/pam-secretman-js-plugin v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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.

PackageREADME
CryptoJShttps://www.npmjs.com/package/crypto-js
Axioshttps://www.npmjs.com/package/axios

Functions

FunctionDefinition
generateSecretgenerateSecret(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

1.0.7

8 months ago

1.0.6

12 months ago

1.0.5

12 months ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago