@cloudreach/docker-secrets

Converts Docker Secrets mounted into a container to an object.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
191Dec 26, 2018May 8, 2017Minified + gzip package size for @cloudreach/docker-secrets in KB

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);

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.