Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aws-parameters-store

Package Overview
Dependencies
Maintainers
15
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-parameters-store

Loads parameters from aws parameter store to a json object

  • 1.0.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
15
Created
Source

aws-parameters-store

Package for loading parameter-store values by path from AWS SSM into a JSON object

Features

  • Gets parameters by path
  • Collects all paged results automatically
  • Built in typescript! (Built-in types)
  • Uses Promises for async use
  • Lightweight

Installation

npm install --save aws-parameters-store

Getting started

javascript

const  paramStore  =  require( 'aws-parameters-store' );

paramStore.getParams('/hello-world/config1/', { region: 'us-east-1' })
    .then( (parameters) => {

        // do something here
    });

typescript

import  getParams  from  'aws-parameters-store';

getParams('/hello-world/config1/', { region: 'us-east-1' })
    .then( (parameters) => {

        // do something here
    });

API

overview

API calls return a promise By default, JSON parameters are being evaluated

getParams( namespace, { options }, parseJsonValues = true )

import  getParams  from  'aws-parameters-store';

getParams('/hello-world/config1/', { region: 'us-east-1' })
    .then( (parameters) => {
    
/* parameters = {
					feature: { 
						authorization: true,
						authentication: false
					}, 
					deployment: { 
						  color: "blue"
					}
					version: "beta-27ea91f",
					tags: ["pre-production", "beta", "rc2"]
				} 
*/
	.catch( (error) => console.log(error));

    });

Contributing

You are welcome to contribute and join our family =)

License

See the LICENSE file for license rights and limitations (Apache License, Version 2.0)

Keywords

FAQs

Package last updated on 09 Feb 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc