shamijohn123
Member
[font=Arial, "Helvetica Neue", Helvetica, sans-serif]I am pursuing AWS certification in Bangalore[size=small][font=Arial, "Helvetica Neue", Helvetica, sans-serif]I am using the Boto 3 python library, and want to connect to AWS CloudFront. I need to specify the correct AWS Profile (AWS Credentials), but looking at the official documentation, I see no way to specify it.[/font]
[font=Arial, "Helvetica Neue", Helvetica, sans-serif]However, this results in it using the default profile to connect. I couldn't find a method where I can specify which profile to use.[/font]
Code:
client = boto3.client('cloudfront')