Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

opificio-serverless-plugin-vault-cdci

Clone of serverless-plugin-vault-v2 by eliasjcjunior without --vault command to use in cdci

serverless, serverless-plugin, vault, serverless-vault, cdci

readme

Serverless Plugin Vault cdci

Unofficial clone of serverless-plugin-vault-v2 by eliasjcjunior without --vault command to use in cdci Official plugin

Features

  • Working with serverless-plugin-dotenv
  • Get the environments variables from your Hashicorp VAULT! (API V2)
  • Integrates with Key Management Service (AWS)

Instalation

npm install --save-dev serverless-plugin-vault-cdci

Vault Configuration

The configuration to initialize:

custom:
    vault:
        token: "<TOKEN_OF_USER>"
        url: <SERVER_URL>"
        paths: ["PATH_STORE1", ...]
        ssl_check: boolean

KMS Configuration

To add the kms integration, just put the Kms object with your vault configuration:

custom:
    vault:
        ...
    kms:
        keyId: <"KMS_ID">

Use

Vault Service run always after serverless command deploy and with serverless offline the command offline start.

Examples:

serverless deploy

and

serverless offline start

to use without Vault Service

serverless deploy --skipVault

and

serverless offline start --skipVault

License

MIT