Skip to content

Commit

Permalink
Merge pull request #16 from nerdstrike/doc_increment
Browse files Browse the repository at this point in the history
Correct CA validation docs
  • Loading branch information
mgcam authored Dec 11, 2024
2 parents 5e2a3e8 + 957a50d commit d3dca7b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/npg_porch_cli/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,8 @@ def send(
by the `action` attribute of the `action` argument. The context of the
query is defined by the pipeline argument.
See also send_request for SSL validation guidance
Args:
action:
npg_porch_cli.api.PorchAction object
Expand Down Expand Up @@ -390,8 +392,8 @@ def send_request(
Args:
validate_ca_cert:
A boolean flag defining whether the server CA certificate
will be validated. If set to True, SSL_CERT_FILE environment
variable should be set.
will be validated. If set to True, REQUESTS_CA_BUNDLE environment
variable should be set, for example to /etc/ssl/certs/ca-certificates.crt
url:
A URL to send the request to.
method:
Expand Down

0 comments on commit d3dca7b

Please sign in to comment.