0.1.0 • Published 2 years ago

@financial-times/serverless-vault-plugin v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

serverless-vault-plugin

A basic serverless plugin that integrates serverless with hashicorp vault.

It adds the specified secrets the serverless provider's environment object, with any variables set in serverless.yml overriding those from vault It also allows access to individual vault secrets via the variable syntax ${vault:SECRET_NAME}

Example Usage

plugins:
  - "@financial-times/serverless-vault-plugin"
custom:
  vaultConfig:
    host: vault.in.ft.com
    roleId: ${env:VAULT_ROLE_ID, ''}
    secretId: ${env:VAULT_SECRET_ID, ''}
    paths:
      - teams/community/shared/${opt:stage, self:provider.stage}
      - teams/community/${self:service}/shared
      - teams/community/${self:service}/${opt:stage, self:provider.stage}
  some_value: ${vault:SOME_SECRET_STORED_IN_VAULT}
0.1.0

2 years ago

0.0.1

2 years ago

0.0.1-beta.2

2 years ago

0.0.1-beta.1

2 years ago