Skip to content

fabrix-app/spool-vault

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spool-vault

Gitter NPM version Build Status Test Coverage Dependency Status Follow @FabrixApp on Twitter

📦 Vault Spool

Install

$ npm install --save @fabrix/spool-vault

Configure

// config/main.ts
export const main = {
  spools: [
    // ... other spools
    require('@fabrix/spool-vault').VaultSpool
  ]
}

Configuration

// config/vault.ts
export const vault = {
  apiVersion: 'v1', // default
  endpoint: 'http://127.0.0.1:8200', // default
  token: '1234' // optional client token; can be fetched after valid initialization of the server
}

For more information about store (type and configuration) please see the vault documentation.

Usage