Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question : AMQP Claims Based Security (CBS) compliance ? #335

Open
laurent-lemke opened this issue Oct 9, 2017 · 0 comments
Open

Question : AMQP Claims Based Security (CBS) compliance ? #335

laurent-lemke opened this issue Oct 9, 2017 · 0 comments

Comments

@laurent-lemke
Copy link

laurent-lemke commented Oct 9, 2017

Hi,

I would like to use this library for retrieving messages in a topic of my Service Bus on Microsoft Azure platform.

Specifically, i'am generating a SAS (= Shared Access Signature) from my Service Bus account which is something like this

"SharedAccessSignature sr=[...]&sig=[...]&se=[...]&skn=[...]"

With the Microsoft Azure REST API it works and all is fine.

Now, I want to build a nodejs program. Thus, I use this awesome library :-) !

My program is very similar to the one posted in Stackoverflow (https://stackoverflow.com/questions/43361331/how-to-fetch-messages-from-an-azure-service-bus-queue-in-peeklock-mode-using-a).

I just replace the sasKey variable value with the String above. But i got some amqp:unauthorized-access error.

Does the library is compliant with AMQP CBS ? Is there a way to use Shared Accessed Signature with this client library ? I know that in .NET, it's possible through the "AMQP.Net Lite" library. But i don't want to use .NET language.

Note: My program works when sasKey is equals to the Shared Access Key of my account. But not when using Shared Access Signature.

Thanks a lot !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant