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
- Host: GitHub
- URL: https://github.com/caseywebdev/fort-knox
- Owner: caseywebdev
- Created: 2017-02-07T16:52:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-09T15:23:39.000Z (about 9 years ago)
- Last Synced: 2025-03-01T17:39:06.655Z (over 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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));
```