Skip to content

Add support to instanciate Azure Storage Client via connection string #7

Open
@cmaneu

Description

@cmaneu

I'm submitting a...


[ ] Regression 
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

This lib only supports storage account name and storage account SAS Key, either through configuration, or through additional storage options in the interceptor declaration.

Expected behavior

We should be able to precise either an account name/storage account pair OR a connection string.

Minimal reproduction of the problem with instructions

Irrelevant :)

What is the motivation / use case for changing the behavior?

Having a connection string support will enable the following scenarios :

  • Support for Local Azure Storage Emulator (a must-do for developers)
  • Support for other storage emulators, like Azurite, used in integration testing via CD/CI pipelines
  • Support for non-global+public Azure Instance (Azure Gov, Azure Germany, Azure China, ...)

Environment


Nest version: 6.6.4

 
For Tooling issues:
- Node version: 10.16.1  
- Platform: Linux  

Others:

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions