# mumba-config-vault

> A configuration loader for Vault.

Latest version **0.2.0** (published 2016-08-15) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install mumba-config-vault
pnpm add mumba-config-vault
yarn add mumba-config-vault
bun add mumba-config-vault
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2016-08-15 |
| First published | 2016-07-17 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=0.12 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mumba Pty Ltd |
| Maintainers | mumbacloud |
| Keywords | vault, hashicorp, secrets |

## Links

- npm: https://www.npmjs.com/package/mumba-config-vault
- Repository: https://gitlab.com/Mumba/node-config-vault
- Homepage: https://gitlab.com/Mumba/node-config-vault#readme
- Issues: https://gitlab.com/Mumba/node-config-vault/issues
- npm.io page: https://npm.io/package/mumba-config-vault

## Dependencies (2)

- [mumba-vault](https://npm.io/package/mumba-vault.md) ^0.2.0
- [mumba-config](https://npm.io/package/mumba-config.md) ^0.1.1

## Alternatives

- [@gemini-wallet/core](https://npm.io/package/@gemini-wallet/core.md) — 515.6K weekly downloads
- [utility](https://npm.io/package/utility.md) — 416.6K weekly downloads
- [@primno/dpapi](https://npm.io/package/@primno/dpapi.md) — 7.2K weekly downloads
- [pi-readseek](https://npm.io/package/pi-readseek.md) — 3.7K weekly downloads
- [@emilia-protocol/verify](https://npm.io/package/@emilia-protocol/verify.md) — 1.1K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2016-08-15
- 0.1.0 — 2016-07-17

## README

# Mumba Vault

A Vault configuration loader for [Mumba Config](https://gitlab.com/Mumba/node-config).

## Installation 

```sh
$ npm install mumba-config-vault
```

## Example

### TypeScript

```typescript
import {Config} from "mumba-config";
import {GenericSecret} from "mumba-vault";
import {VaultLoader} from "mumba-config-vault";

let config = new Config();
let vault = new GenericSecret();
let vaultLoader = new VaultLoader(vault);

config.registerLoader(vaultLoader);

config.load([
		{
			name: 'vault',
			token: '442eec1e-ba12-e000-91dc-78fafbdb8015',
			path: '/v1/secret/the/path'
		}
	])
	.then(() => {
	  // Vault secrets are now loaded into the config object.
	})
	.catch(console.error);
```

## Code quality and tests

```sh
$ npm run test
```

## License

Apache-2.0

## References

* https://www.vaultproject.io
* https://github.com/Microsoft/TypeScript/wiki
* http://mochajs.org

* * *

&copy; 2016 Mumba Pty Ltd. All rights reserved.

---
_Source: https://npm.io/package/mumba-config-vault · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
