mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-05-21 06:41:55 +00:00
Merge 5d6081151c into 892a26828f
This commit is contained in:
commit
f4d1b2afd6
4 changed files with 20 additions and 0 deletions
|
|
@ -59,6 +59,11 @@ async function exportSecrets() {
|
|||
}
|
||||
}
|
||||
|
||||
const http2 = (core.getInput('http2', { required: false }) || 'false').toLowerCase() != 'false';
|
||||
if (http2 === true) {
|
||||
defaultOptions.http2 = true;
|
||||
}
|
||||
|
||||
const tlsSkipVerify = (core.getInput('tlsSkipVerify', { required: false }) || 'false').toLowerCase() != 'false';
|
||||
if (tlsSkipVerify === true) {
|
||||
defaultOptions.https.rejectUnauthorized = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue