Connecting to Shared SQS Queue using boto

I've run into a particularly vexing problem. I can easily connect to a native (one owned by my AWS account credentials) SQS queue using the boto SQS module. However, it appears AWS offers the ability to allow connection to non-native (owned by another AWS account) SQS queues using permissions. This 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 references in the boto code or documentation for performing such an operation.

Answers


I'm under the impression that what you need is Identity and Access Management (IAM).

The other AWS account can create an IAM user, with the selection to also create an access key for it. That provides a pair of access key and secret access key, not unlike the ones for the regular AWS account you normally access the API with. Now you could customize the exact permissions for this IAM user.

It's my expectation that when this new IAM user's access key and secret access key are provided to boto in a regular fashion (to aws_access_key_id and aws_secret_access_key), they should work as expected.


Need Your Help

'file_get_contents' The contents are encrypted?

php file-get-contents

The problem is when i use file_get_contents to get source (HTML) from this site, the result that i receive is NOT a plain html code.

Make thread-safe a normal class with ThreadLocal<T>

c# properties thread-safety thread-local

I have a normal class designed to be accessed by a single thread and I want to make it thread-safe so many threads can use a single instance at the same time. There are some class level methods and

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.