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: Determine if the given configuration has proper credentials
  
  Parameters
  ----------
  cls : class
      A Session class.
  config : dict
      GDAL configuration as a dict.
  
  Returns
  -------
  bool
docstr_tok: ["Determine","if","the","given","configuration","has","proper","credentials","Parameters","--","--","--","--","--","cls",":","class","A","Session","class",".","config",":","dict","GDAL","configuration","as","a","dict",".","Returns","--","--","--","-","bool"]
code: def hascreds(cls, config):
      """Determine if the given configuration has proper credentials
  
      Parameters
      ----------
      cls : class
          A Session class.
      config : dict
          GDAL configuration as a dict.
  
      Returns
      -------
      bool
  
      """
      return (
          "AZURE_STORAGE_CONNECTION_STRING" in config
          or {
              "AZURE_STORAGE_ACCOUNT",
              "AZURE_STORAGE_ACCESS_KEY",
          }.issubset(config.keys())
          or {
              "AZURE_STORAGE_ACCOUNT",
              "AZURE_NO_SIGN_REQUEST",
          }.issubset(config.keys())
      )
  
imports: import logging
  import os
  import warnings
  from fiona.path import parse_path, UnparsedPath
label_desc: Use image node_id 2 for calling the AzureSession obj's underlying member method code with example usage: obj.hascreds(cls, config) and returns: unknown