Explore Courses Blog Tutorials Interview Questions
0 votes
in AWS by (12.9k points)
edited by

For AWS CLI configuration and credentials files how do you comment out lines in these files - I checked the documentation here but found nothing.




aws_access_key_id = XXXXXXXXX

aws_secret_access_key = YYYYYYYY


aws_access_key_id = AAAAAAAAA

aws_secret_access_key = BBBBBB



region = us-east-1

[profile qa]

region = us-west-2

[profile staging]

region = us-east-2

1 Answer

0 votes
by (18.2k points)

Just use # character to make comments. For example:


aws_access_key_id = XXXXXXXXX

aws_secret_access_key = YYYYYYYY


#aws_access_key_id = AAAAAAAAA

#aws_secret_access_key = BBBBBB

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
0 votes
1 answer
asked Jul 2, 2019 in AWS by Amyra (12.9k points)
0 votes
1 answer
asked Dec 19, 2020 in AWS by devin (5.6k points)
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

29.3k questions

30.6k answers


104k users

Browse Categories