
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Simple module to protect api keys, username credentials, and other sensitive data.
A small module providing the ability to store sensitive data securely and retrieve it decrypted at runtime.
npm install avault
There are two steps to follow to use the avault service:
Step 1 is performed very infrequently. Step 2 is performed frequently, whenever sensitive data (e.g. credentials) needs to be retrieved.
usage: vaultcli.js [--version] [--zap] [--verbose] [--reallyverbose] [--secret=<secretValue>] [--value=<vaultValue>] <vaultName>
example - create a vault entry:
node_modules/avault/vaultcli.js --verbose --value='{"username": "mrogers", "password": "director", "host": "nsa.rds.amazonaws.com", "database": "prism"}' sigad
example - remove all vaults:
node_modules/avault/vaultcli.js --zap --verbose
example - set the master key:
node_modules/avault/vaultcli.js --secret=skeleton --verbose
var vault = require('avault').createVault(__dirname);
var keyName = 'key1';
vault.generateKey(keyName).then(
function (keyResponse) {
vault.store(keyName, '{"username": "mrogers", "password": "director", "host": "nsa.rds.amazonaws.com", "database": "prism"}', 'sigad').then(
function (storeResponse) {
console.log('Ok', storeResponse);
},
function (err) {
console.log('Error', err);
});
},
function (err) {
console.log('Error', err);
});
var vault = require('avault').createVault(__dirname);
vault.get('sigad', function (profileString) {
var profile = JSON.parse(profileString);
console.log(profile);
});
npm test
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.
FAQs
Simple module to protect api keys, username credentials, and other sensitive data.
The npm package avault receives a total of 3 weekly downloads. As such, avault popularity was classified as not popular.
We found that avault demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.