class_docstr: Configures access to secured resources stored in Microsoft Azure Blob Storage.
class_docstr_tok: ["Configures","access","to","secured","resources","stored","in","Microsoft","Azure","Blob","Storage","."]
docstr: Create new Microsoft Azure Blob Storage session
  
  Parameters
  ----------
  azure_storage_connection_string: string
      A connection string contains both an account name and a secret key.
  azure_storage_account: string
      An account name
  azure_storage_access_key: string
      A secret key
  azure_unsigned : bool, optional (default: False)
      If True, requests will be unsigned.
docstr_tok: ["Create","new","Microsoft","Azure","Blob","Storage","session","Parameters","--","--","--","--","--","azure_storage_connection_string",":","string","A","connection","string","contains","both","an","account","name","and","a","secret","key",".","azure_storage_account",":","string","An","account","name","azure_storage_access_key",":","string","A","secret","key","azure_unsigned",":","bool",",","optional","(","default",":","False",")","If","True",",","requests","will","be","unsigned","."]
code: def __init__(
      self,
      azure_storage_connection_string=None,
      azure_storage_account=None,
      azure_storage_access_key=None,
      azure_unsigned=False,
  ):
      """Create new Microsoft Azure Blob Storage session
  
      Parameters
      ----------
      azure_storage_connection_string: string
          A connection string contains both an account name and a secret key.
      azure_storage_account: string
          An account name
      azure_storage_access_key: string
          A secret key
      azure_unsigned : bool, optional (default: False)
          If True, requests will be unsigned.
  
      """
      self.unsigned = bool(
          os.getenv("AZURE_NO_SIGN_REQUEST", azure_unsigned)
      )
      self.storage_account = os.getenv(
          "AZURE_STORAGE_ACCOUNT", azure_storage_account
      )
  
      if azure_storage_connection_string:
          self._creds = {
              "azure_storage_connection_string": azure_storage_connection_string
          }
      elif not self.unsigned:
          self._creds = {
              "azure_storage_account": self.storage_account,
              "azure_storage_access_key": azure_storage_access_key,
          }
      else:
          self._creds = {"azure_storage_account": self.storage_account}
  
imports: import logging
  import os
  import warnings
  from fiona.path import parse_path, UnparsedPath
label_desc: Use image node_id 1 to create a new AzureSession object from inherited base classes: Session with example: obj = AzureSession(azure_storage_connection_string, azure_storage_account, azure_storage_access_key, azure_unsigned)