From 58f110ae9ca4ff890e094b619f5c366eb1d9842f Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Fri, 11 Mar 2022 07:20:46 +0100 Subject: [PATCH] Update doc. tss.py (env REQUESTS_CA_BUNDLE) (#4338) (#4345) * Update doc. tss.py (env REQUESTS_CA_BUNDLE) Add a reference to environment variable REQUESTS_CA_BUNDLE to enable using self signed certificates (on-prem server) in documentation. * Update tss.py Remove trailing blank * Update plugins/lookup/tss.py Co-authored-by: Felix Fontein * Update plugins/lookup/tss.py Co-authored-by: Felix Fontein * Update plugins/lookup/tss.py Co-authored-by: Felix Fontein Co-authored-by: Felix Fontein (cherry picked from commit c0415b9fae02c8c24be5258b99d5acde6b577f91) Co-authored-by: Josef Fuchs --- plugins/lookup/tss.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/lookup/tss.py b/plugins/lookup/tss.py index 3b561e94fc..880e6e3833 100644 --- a/plugins/lookup/tss.py +++ b/plugins/lookup/tss.py @@ -14,6 +14,10 @@ description: - Uses the Thycotic Secret Server Python SDK to get Secrets from Secret Server using token authentication with I(username) and I(password) on the REST API at I(base_url). + - When using self-signed certificates the environment variable + C(REQUESTS_CA_BUNDLE) can be set to a file containing the trusted certificates + (in C(.pem) format). + - For example, C(export REQUESTS_CA_BUNDLE='/etc/ssl/certs/ca-bundle.trust.crt'). requirements: - python-tss-sdk - https://pypi.org/project/python-tss-sdk/ options: