mirror of
https://github.com/hashicorp/vault-action.git
synced 2026-04-07 20:50:09 +00:00
feat: add http2 support for Vault communication
This commit is contained in:
parent
2c5827061f
commit
df5f6ffc17
3 changed files with 51 additions and 1 deletions
|
|
@ -54,6 +54,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