5
0
Fork 0
mirror of https://github.com/hashicorp/vault-action.git synced 2025-11-10 08:36:55 +00:00

chore: tweak some settings

This commit is contained in:
Richard Simpson 2019-09-20 15:54:28 -05:00
parent 4aac50105a
commit d78f75f886
No known key found for this signature in database
GPG key ID: 0CECAF50D013D1E2

View file

@ -1,8 +1,7 @@
const got = require('got'); const got = require('got');
(async () => { (async () => {
const result = await got(`https://${process.env.VAULT_HOST}:${process.env.VAULT_PORT}/v1/secret/config`, { const result = await got(`http://${process.env.VAULT_HOST}:${process.env.VAULT_PORT}/v1/secret/config`, {
method: 'POST',
headers: { headers: {
'X-Vault-Token': 'testtoken' 'X-Vault-Token': 'testtoken'
} }