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

@lumigo/serverless-crossaccount-ssm

Package Overview
Dependencies
Maintainers
3
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lumigo/serverless-crossaccount-ssm

Serverless framework plugin to access the system and secrets managers at isolated account

  • 1.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
327
decreased by-54.07%
Maintainers
3
Weekly downloads
 
Created
Source

lumigo-serverless-crossaccount-ssm

serverless Version CircleCI

Serverless framework plugin to access the system and secrets managers at isolated account.

Currently only AWS provider is supported.

Install

Run npm install in your Serverless project.

$ npm install --save-dev lumigo-serverless-crossaccount-ssm

Add the plugin to the top of the list at your serverless.yml file

plugins:
  - lumigo-serverless-crossaccount-ssm
  # ...

Configuration

In order to configure the account, use the custom.crossaccount-ssm object:

custom:
  crossaccount-ssm:
    profile: PROFILE_NAME # for ssm references resolution
    regions:
      - us-east-1
      - us-east-2 # failover replica
      #...

The default config in a case if nothing provided:

custom:
  crossaccount-ssm:
    profile: default
    regions:
      - us-east-1

Usage

All variables are being resolved and set through the environment during Cloudformation template generation:

service:
  name: client-demo

custom:
  crossaccount-ssm:
    profile: PROFILE
    regions:
      - MASTER_REGION
      - FAILOVER_REGION_1
      # ...
      - FAILOVER_REGION_N

provider:
  name: aws
  region: us-east-1

functions:
  client:
    description: Isolated AWS SecretsManager' secrets client
    handler: ...
    environment:
      CLIENT_SECRET: ${ssm:/aws/reference/secretsmanager/secret~true}
    package:
      include:
        - ...

plugins:
  - serverless-crossaccount-ssm

How to test

  • Run npm run test:all

Keywords

FAQs

Package last updated on 17 Nov 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