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

Converts Docker Secrets mounted into a container to an object.

Notifications You must be signed in to change notification settings

cloudreach/node-docker-secrets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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