mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Dummy AWS credentials for Route53 tests to prevent outbound connections (#6456)
Boto3 / botocore library has a feature that tries to fetch AWS credentials from IAM if a set of credentials isn't available otherwise. This happens when boto loops through different credential providers in order to find the keys. See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=912103 This PR simply adds dummy environmental variables for the tests that will be picked up by the credential provider iterator in order to prevent making outbound connections. * Hardcode dummy AWS credentials to prevent boto3 making outgoing connections * Remove the dummy credentials when tearing down test case
This commit is contained in:
committed by
Brad Warren
parent
1d783fd4b9
commit
a1af42bc5f
@@ -20,6 +20,7 @@ Certbot adheres to [Semantic Versioning](http://semver.org/).
|
||||
* Fix ranking of vhosts in Nginx so that all port-matching vhosts come first
|
||||
* Correct OVH integration tests on machines without internet access.
|
||||
* Stop caching the results of ipv6_info in http01.py
|
||||
* Test fix for Route53 plugin to prevent boto3 making outgoing connections.
|
||||
* The grammar used by Augeas parser in Apache plugin was updated to fix various parsing errors.
|
||||
|
||||
## 0.27.1 - 2018-09-06
|
||||
|
||||
Reference in New Issue
Block a user