1.0.4 • Published 6 years ago
archipinion-aws-parameter-store v1.0.4
archipinion-aws-parameter-store
Module to load credentials from AWS Parameter Store
Features
- Exports function
connection(path)
- Path should be taken from AWS Parameter Store Name, e.g. 'ecs/production/name'
- Returns an object with all parameters associated with given path
Installation
- Install using
npm i archipinion-aws-parameter-store
- Require package in respective files
- Get parameters by path using
await requiredVariable.connection('path')
- Within Lambda function add respective IAM role granting access to perform
getParametersByPath
on Lambda resource