Comments (3)
Looking at the code path, if EMULATED=true, isEmulated returns true, even if your HOST setting doesn't match the devstorage hosts. Should use the credetnails instead to determine, and calculate the host URI and usePathStyleUri if they are not provided
from azure-sdk-for-node.
parse credentials to decide what the uri style and uri should be
from azure-sdk-for-node.
In our latest release there are convenience methods in azure.js that make creating a client easier through the new auth scheme.
Also note:
- isEmulated is now removed (it was difficult to determine if the client was emulated if devstore credentials were directly passed).
- In addition to the environment variable EMULATED, there is a convenience method to create dev store credentials to pass in.
- The order in which credentials are assessed is consistent: If parameters are passed in, they and they alone are honored.
o There is no mixing (For example, if you pass in host you won't get the access key from your environment variable).
o If no parameters are passed in, the environment variables are used.
Within both those strategies, the order of evaluation is emulator (in the case of EMULATED env var only), connection string, account/key or sas, anonymous.
o If account/key and sas are passed in, an error is thrown indicating the credentials are invalid.
Please refer to the ChangeLog for a complete list of added features and fixes.
https://github.com/Azure/azure-storage-node/blob/master/ChangeLog.txt
Download the latest Node.js Module
https://www.npmjs.org/package/azure-storage
Get the source code
https://github.com/Azure/azure-storage-node
Read our blog post: Microsoft Azure Storage Client Module for Node.js v. 0.2.0 http://blogs.msdn.com/b/windowsazurestorage/archive/2014/06/26/microsoft-azure-storage-client-module-for-node-js-v-0-2-0.aspx
from azure-sdk-for-node.
Related Issues (20)
- Need ms-rest-azure to reference the new version of adal-node in their dependencies (0.2.2) HOT 1
- Vulnerability in Validator JS HOT 1
- ReDoS vulnerability in validator js HOT 1
- Critical Component Governance Vulnerability in json-schema 0.2.3 in ms-rest HOT 2
- I want to generate a video meeting link. Does this lib supports video calling? HOT 1
- Vulnerability - Json Schema Prototype Pollution HOT 2
- Vulnerability - Inefficient Regular Expression Complexity in validator.js HOT 1
- ChainAlert: new npm maintainer has published version 2.5.5 of package ms-rest HOT 2
- CDK for infrastructure as code HOT 6
- Vulnerability - Inefficient Regular Expression Complexity in validator.js - still apparent in azure-sb latest version
- Cannot verify a JWT token via EC Key HOT 3
- npm audit reported about a vulnerability in "async" dependency HOT 2
- How to extend message lock duration in nodejs? HOT 2
- Pass --allow-no-subscriptions to loginWithServicePrincipalSecret HOT 5
- This repo is missing important files
- error HOT 2
- This repo is missing a license file HOT 1
- Local git deployment does not synchronously delete files (Linux webapp) HOT 5
- Local git deployment does not synchronously delete files (Linux webapp) HOT 1
- Deprecated npm request package used HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-sdk-for-node.