• Pricing
© 2025 Serverless, Inc. All rights reserved.
Terms of ServicePrivacy Policy
eliasjcjunior

Serverless Plugin Vault V 2

by

Simplify integration between serverless and vault to storage environments variables

479
2
  1. Serverless Plugin Vault V 2

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

Contents

  • Serverless Plugin Vault V2
  • Features
  • Instalation
  • Vault Configuration
  • KMS Configuration
  • Use
  • License

Related

GuidesPluginsExamplesSlack CommunitySupport