Connecting to a shared SQS queue using boto

I ran into a particularly annoying problem. I can easily connect to the native (owned by my AWS account credentials) SQS queue using the boto SQS module. However, it seems AWS is offering the ability to allow connections to SQS queues not owned by other owners (owned by another AWS) using permissions. It is probably better described as a shared queue.

Is there a way to use boto to connect to a shared queue? I can't seem to find any methods or links in the boto code or documentation to accomplish such an operation.

+3


source to share


1 answer


I am under the impression that you need Identity and Access Management (IAM).

Another AWS account can create an IAM user and also choose to create an access key for it . This provides an access key pair and secret access key, unlike those used for a regular AWS account that you would normally access the API. You can now configure the exact permissions for this IAM user.



I expect that when this new IAM user access token and secret access key are provided to boto in the normal way (before aws_access_key_id and aws_secret_access_key) they should work as expected.

-1


source







All Articles