File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ def validate(config,
267267 access_key = config .get (long_term_name , 'aws_secret_access_key' )
268268 except NoSectionError :
269269 log_error_and_exit (logger ,
270- f"Long term credentials session '[ { long_term_name } ] ' is missing. "
270+ f"Long term credentials session '{ long_term_name } ' is missing. "
271271 "You must add this section to your credentials file "
272272 "along with your long term 'aws_access_key_id' and "
273273 "'aws_secret_access_key'" )
@@ -415,7 +415,7 @@ def get_credentials(logger,
415415 mfa_token = str (token )
416416 else :
417417 mfa_token = Prompt .ask (
418- f'Enter AWS MFA code for device [ { device } ] (renewing for { duration } seconds):'
418+ f'Enter AWS MFA code for device { device } (renewing for { duration } seconds):'
419419 )
420420
421421 client = boto3 .client (
You can’t perform that action at this time.
0 commit comments