chore: add vault image to test
This commit is contained in:
12
quicktest.js
Normal file
12
quicktest.js
Normal file
@@ -0,0 +1,12 @@
|
||||
const got = require('got');
|
||||
|
||||
(async () => {
|
||||
const result = await got(`localhost:8200/v1/secret/config`, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'X-Vault-Token': 'testtoken'
|
||||
}
|
||||
});
|
||||
|
||||
console.log(result.body);
|
||||
})();
|
||||
Reference in New Issue
Block a user