fix(secrets): remove hardcoded vault token for gitguardian
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user