🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@highly-attractive-people/conman-s3-source

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highly-attractive-people/conman-s3-source

s3 for conman configuration manager

latest
npmnpm
Version
1.1.0
Version published
Maintainers
2
Created
Source

s3 source for conman

Read the configuration from remote files store in s3.

Options

namedescriptiontypemandatory
accessKeyIdAWS keyyes
secretAccessKeyAWS secretyes
regionAWS regionno
sessionTokenAWS session tokenyes
BucketS3 Bucketyes
KeyFile namenox
namename of the source to be used instead of the typestringno
keykey where the source data will be included inside the configstring, if no key is provided data is at the root of the configno

If the Key is missing it will grab and combine all the files from the Bucket.

Use example:

const conman = require('@highly-attractive-people/conman');
const s3 = s3Source(
  { name: 's3Source', key: 's3' },
  {
    Bucket: 'dcg-video-live-encoder-service-dev',
    accessKeyId: process.env.AWS_ACCESS_KEY_ID,
    secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
    region: process.env.AWS_DEFAULT_REGION,
    sessionToken: process.env.AWS_SESSION_TOKEN
  }
);

conman()
  .addSource(s3)
  .build();

FAQs

Package last updated on 16 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts