mirror of
https://github.com/hashicorp/vault-action.git
synced 2025-11-10 00:26:55 +00:00
chore: tweak some settings
This commit is contained in:
parent
4aac50105a
commit
d78f75f886
1 changed files with 1 additions and 2 deletions
|
|
@ -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'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue