Skip to content

Commit

Permalink
Merge pull request #32 from Syoc/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
lkubb authored Jan 9, 2024
2 parents d02bc44 + 30a4cac commit 918e9e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog/34.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed verify parameter for unwrap requests
4 changes: 3 additions & 1 deletion src/saltext/vault/utils/vault/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,9 @@ def unwrap(self, wrapped, expected_creation_path=None):
headers["X-Vault-Token"] = str(wrapped)
else:
payload["token"] = str(wrapped)
res = self.session.request("POST", url, headers=headers, json=payload)
res = self.session.request(
"POST", url, headers=headers, json=payload, verify=self._requests_verify
)
if not res.ok:
self._raise_status(res)
return res.json()
Expand Down

0 comments on commit 918e9e9

Please sign in to comment.