while writing application using nodejs/azure and table services, how can we set what type of authorization should be used.
Shared Key Lite (or) Shared Key.
How can we set that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It depends how you’re accessing Table Services. If you use the SDK you can do it like this:
Shared Key
Shared Key Lite
Take a look at the code and you’ll see that Shared Key will be used if you omit the authentication provider.
If you use
http.requestyou need to specify the type in the authorization header:So your code will be something like this: