by scarface_74 · 1y ago · 0 comments
For instance, the correct way to initialize the s3 client in Python is
s3 = boto3.client('s3')
The SDK will automatically get the credentials that are configured locally within your environment or the IAM role attached to your Lambda, EC2 instance, Docker (ECS, EKS) container runner etc.Your access keys never need to be part of your repository.