[cloud] Don't remove profile, security_token by default in `aws_s3` (#30902) (#30930)

Comment above suggests only removing it for non-S3 services,
so let's actually enforce that.
pull/30949/head
Sloane Hertel 8 years ago committed by Ryan Brown
parent ed2a152b5e
commit 0195d3640b

@ -605,6 +605,7 @@ def main():
# Look at s3_url and tweak connection settings
# if connecting to RGW, Walrus or fakes3
if s3_url:
for key in ['validate_certs', 'security_token', 'profile_name']:
aws_connect_kwargs.pop(key, None)
try:

Loading…
Cancel
Save