libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <>
Subject [GitHub] [libcloud] c-w opened a new pull request #1552: Add support for Azure Government to Azure Blobs storage driver
Date Sun, 07 Feb 2021 16:35:58 GMT

c-w opened a new pull request #1552:

   ## Add support for Azure Government to Azure Blobs storage driver
   ### Description
   This pull request adds support to the Azure Blobs storage driver for deployments of Azure
Storage that use custom hostnames such as Azure Government, Azure China, and Azure Private
Link. To target these deployments, the driver can be initialized as follows:
   from import Provider
   from import get_driver
   cls = get_driver(Provider.AZURE_BLOBS)
   host = ''  # for Azure Private Link
   host = ''  # for Azure China
   host = ''  # for Azure Government
   driver = cls(key='your storage account name',
                secret='your access key',
   The change maintains backwards compatibility with the previous approach of using a custom
host argument to target Azurite or IoT Edge Storage by explicitly checking for the Azure China,
Azure Government, and Azure Private Link well-known endpoint constants.
   ### Status
   - done, ready for review
   ### Checklist
   - [ ] [Code linting](
   - [x] Documentation **Updated docs**
   - [x] [Tests]( **[libcloud-tests
   - [x] [ICLA](

This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:

View raw message