fix(secrets): remove hardcoded vault token for gitguardian

This commit is contained in:
2026-08-01 01:27:07 -04:00
parent a26d54ec6f
commit 276629a587
2 changed files with 2 additions and 4 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
'use strict';
const conf = require('@simpleworkjs/conf');
const VAULT_URL = 'http://openbao:8200';
const VAULT_TOKEN = 'root';
const VAULT_URL = process.env.VAULT_ADDR || 'http://openbao:8200';
const VAULT_TOKEN = process.env.VAULT_TOKEN || 'root';
async function getVaultConf() {
try {