Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8928927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:33:41+00:00 2026-06-15T08:33:41+00:00

while writing application using nodejs/azure and table services, how can we set what type

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T08:33:44+00:00Added an answer on June 15, 2026 at 8:33 am

    It depends how you’re accessing Table Services. If you use the SDK you can do it like this:

    Shared Key

    var sharedKey = = new SharedKeyTable(storageAccount, storageAccessKey, usePathStyleUri);
    var tableService = azure.createTableService(null, null, null, sharedKey);
    

    Shared Key Lite

    var sharedKeyLite = = new SharedKeyLiteTable(storageAccount, storageAccessKey, usePathStyleUri);
    var tableService = azure.createTableService(null, null, null, sharedKeyLite);
    

    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.request you need to specify the type in the authorization header:

    Authorization="[SharedKey|SharedKeyLite] <AccountName>:<Signature>"
    

    So your code will be something like this:

    var http = require('http');
    
    function doSomethingWithTables() {
        var settings = {
            host: ...,
            port: 80,
            path: ...,
            headers: {},
            method: 'GET'
        };
        settings.headers['Authorization'] = 'SharedKeyLite myaccount:xxiofojpfzaopfiaz';
    
        var req = http.request(settings);
        req.write(...);
        req.on('response', function(res){
            ...
        });
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi i am newbie to Spring. While i was writing some sample application using
I am writing an IPC application using message queues. While using msgget() function to
I'm writing an application for Windows Azure. I'm using Entity Framework to access SQL
I am writing an application that used to backup some specified file, therefore using
While writing my first Blackberry application using Java, I am confused between inheriting from
I am writing an application in VS2010. While installing VS2010 a software package of
While implementing XML file reading/writing in my application I saw that when I call
I've been working on writing my first MVC3 application for a little while and
I'm writing a feature in my application which is used to clone a whole
While writing a .jsp file, can i include all the html5 tags in it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.