That means that by default, people using this library will get a error like this:
/abra/kadabra/Python/farm/lib/python3.11/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host 'rolesanywhere.us-east-1.amazonaws.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
Workaround until is fixed is explicitly set verify=True
The PR #10 introduced a feature for using custom truststore.
However
URLLib3Session
default parameter for verify isTrue
(https://github.com/boto/botocore/blob/fe6e5c56c56f40e802ca6dc9b4fc6bef1ede65ee/botocore/httpsession.py#L289), meanwhile for IAMRoleAnywhereSession isNone
.That means that by default, people using this library will get a error like this:
Workaround until is fixed is explicitly set
verify=True