diff --git a/dist/index.js b/dist/index.js index f9a44bf..f459282 100644 --- a/dist/index.js +++ b/dist/index.js @@ -18583,6 +18583,8 @@ async function exportSecrets() { const caCertificateRaw = core.getInput('caCertificate', { required: false }); if (caCertificateRaw != null) { defaultOptions.https.certificateAuthority = Buffer.from(caCertificateRaw, 'base64').toString(); + + core.debug('ℹ cert: \n'+defaultOptions.https.certificateAuthority); } const clientCertificateRaw = core.getInput('clientCertificate', { required: false }); @@ -18885,6 +18887,7 @@ async function getClientToken(client, method, path, payload) { }; core.debug(`Retrieving Vault Token from ${path} endpoint`); + core.debug(`payload: ${JSON.stringify(options)}`); /** @type {import('got').Response} */ let response; diff --git a/src/action.js b/src/action.js index 94c8f8e..0ea8cb1 100644 --- a/src/action.js +++ b/src/action.js @@ -52,6 +52,8 @@ async function exportSecrets() { const caCertificateRaw = core.getInput('caCertificate', { required: false }); if (caCertificateRaw != null) { defaultOptions.https.certificateAuthority = Buffer.from(caCertificateRaw, 'base64').toString(); + + core.debug('ℹ cert: \n'+defaultOptions.https.certificateAuthority); } const clientCertificateRaw = core.getInput('clientCertificate', { required: false }); diff --git a/src/auth.js b/src/auth.js index 69198d6..c02c812 100644 --- a/src/auth.js +++ b/src/auth.js @@ -120,6 +120,7 @@ async function getClientToken(client, method, path, payload) { }; core.debug(`Retrieving Vault Token from ${path} endpoint`); + core.debug(`payload: ${JSON.stringify(options)}`); /** @type {import('got').Response} */ let response;