Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.eslintrc.js
.gitignore
README.md
index.js
package-lock.json
package.json

README.md

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

You can’t perform that action at this time.