mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-04-07 04:29:26 +00:00
Fix bug with tlsSkipVerify and add test coverage
This commit is contained in:
parent
6cf013b5c0
commit
e5ef6c9c11
5 changed files with 32 additions and 3 deletions
|
|
@ -35,7 +35,7 @@ async function exportSecrets() {
|
|||
|
||||
const tlsSkipVerify = (core.getInput('tlsSkipVerify', { required: false }) || 'false').toLowerCase() != 'false';
|
||||
if (tlsSkipVerify === true) {
|
||||
defaultOptions.https.rejectUnauthorized = true;
|
||||
defaultOptions.https.rejectUnauthorized = false;
|
||||
}
|
||||
|
||||
const caCertificateRaw = core.getInput('caCertificate', { required: false });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue