Serverless Plugin Vault V2

serverless vault enterprise

Features

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

Instalation

yarn add --dev serverless-plugin-vault-v2

or

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

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

To activate the Vault Service use the flag --vault after serverless command deploy and with serverless offline the command offline start. Examples:

serverless deploy --vault

and

serverless offline start --vault

License

MIT