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

serverless-env-generator

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-env-generator - npm Package Compare versions

Comparing version 1.1.0 to 1.1.2

2

package.json
{
"name": "serverless-env-generator",
"version": "1.1.0",
"version": "1.1.2",
"engines": {

@@ -5,0 +5,0 @@ "node": ">=6.0"

@@ -8,4 +8,7 @@ Serverless Env Generator Plugin

Key features:
For a brief introduction, read our blogpost about [introducing serverless-env-generator](http://www.dieproduktmacher.com/introducing-serverless-env-generator/).
### Key features:
- Support for multi-stage configurations and custom profiles

@@ -18,2 +21,5 @@ - Value of environment variables can be encrypted with AWS KMS, allowing teams to manage sensitive information in git.

### Notes
Please note that the uploaded *.env* file contains secrets in cleartext. Therefore we recommend to use [Serverless Crypt](https://github.com/marcy-terui/serverless-crypt) for critical secrets. This tool aims to strike a balance between storing secrets in plaintext in Lambda environment variables and having to decrypt them at runtime using KMS.

@@ -26,3 +32,3 @@

This package requires node >= 6.0.
Encryption is only supported for AWS due to the reliance on KMS.
Due to the reliance on KMS, encryption is only supported for AWS.

@@ -29,0 +35,0 @@

@@ -7,3 +7,3 @@ 'use strict'

class ServerlessPlugin {
class ServerlessEnvGeneratorPlugin {
constructor (serverless, options) {

@@ -120,2 +120,2 @@ this.serverless = serverless

module.exports = ServerlessPlugin
module.exports = ServerlessEnvGeneratorPlugin

@@ -28,3 +28,3 @@ 'use strict'

return new Promise((resolve, reject) => {
getKms(config).encrypt({ Plaintext: text }, (error, data) => {
getKms(config).encrypt({ Plaintext: String(text) }, (error, data) => {
if (error) {

@@ -31,0 +31,0 @@ reject(error)

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