Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Latest commit

 

History

History
13 lines (11 loc) · 339 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 339 Bytes

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