[cloud] Don't remove profile, security_token by default in `aws_s3` (#30902)
Comment above suggests only removing it for non-S3 services, so let's actually enforce that.pull/4420/head
parent
ef56f9a44c
commit
b863d072c2
|
@ -604,6 +604,7 @@ def main():
|
||||||
|
|
||||||
# Look at s3_url and tweak connection settings
|
# Look at s3_url and tweak connection settings
|
||||||
# if connecting to RGW, Walrus or fakes3
|
# if connecting to RGW, Walrus or fakes3
|
||||||
|
if s3_url:
|
||||||
for key in ['validate_certs', 'security_token', 'profile_name']:
|
for key in ['validate_certs', 'security_token', 'profile_name']:
|
||||||
aws_connect_kwargs.pop(key, None)
|
aws_connect_kwargs.pop(key, None)
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue