secret-writer
v0.1.0
Published
writes an AWS secret-manager secret to the file system
Downloads
1
Readme
Secret Writer
Writes the content of an AWS Secret Manager secret to the filesystem.
Secret writer can write an entire secrets object or a single secret value to the filesystem:
How can I use this in my project?
npm i secret-writer
write an entire secret
const secretWriter = require('secret-writer');
secretWriter.writeSecretToFileSystem('/some/file/path', 'ALL_THE_SECRETS');
write a specific secret value
const secretWriter = require('secret-writer');
secretWriter.writeSecretToFileSystem('/some/file/path', 'ALL_THE_SECRETS', 'SOME_SECRET');