An open API service indexing awesome lists of open source software.

https://github.com/caseywebdev/fort-knox

Get secrets from Vault
https://github.com/caseywebdev/fort-knox

Last synced: over 1 year ago
JSON representation

Get secrets from Vault

Awesome Lists containing this project

README

          

# Fort Knox

Get secrets from Vault.

```js
const FortKnox = require('fort-knox');

const vault = new FortKnox({
auth: {
data: {
role_id: '...',
secret_id: '...'
},
method: 'approle'
},
url: '...'
});

vault.get('secret/my/database/password').then(value => console.log(value));
```