@cloudreach/docker-secrets
v1.0.3
Published
Converts Docker Secrets mounted into a container to an object.
Downloads
1,042
Readme
Docker Secrets
This NPM module loads Docker secrets from the /run/secrets
directory created by Docker Swarm into a JS object for use within Node.js applications.
Installation
npm install @cloudreach/docker-secrets
Usage
const secrets = require('@cloudreach/docker-secrets');
console.log(secrets);