boto
What does boto stand for
Boto derives its name from the Portuguese name given to types of dolphins native to the Amazon River. SO, I don’t think it stands for anything or it has full form. Though this could only be best answered by the Team of AWS, who has come up with this name, but documentation suggests, what I … Read more
AWS: Boto3: AssumeRole example which includes role usage
Here’s a code snippet from the official AWS documentation where an s3 resource is created for listing all s3 buckets. boto3 resources or clients for other services can be built in a similar fashion. # create an STS client object that represents a live connection to the # STS service sts_client = boto3.client(‘sts’) # Call … Read more
Boto3 Error: botocore.exceptions.NoCredentialsError: Unable to locate credentials
try specifying keys manually s3 = boto3.resource(‘s3′, aws_access_key_id=ACCESS_ID, aws_secret_access_key= ACCESS_KEY) Make sure you don’t include your ACCESS_ID and ACCESS_KEY in the code directly for security concerns. Consider using environment configs and injecting them in the code as suggested by @Tiger_Mike. For Prod environments consider using rotating access keys: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html#Using_RotateAccessKey