mirror of
https://github.com/expo/node-vault.git
synced 2026-11-27 16:45:28 -10:00
8 lines
190 B
JavaScript
8 lines
190 B
JavaScript
// file: example/rotate.js
|
|
|
|
process.env.DEBUG = 'node-vault'; // switch on debug mode
|
|
|
|
const vault = require('./../src/index')();
|
|
|
|
vault.rotate().catch((err) => console.error(err.message));
|