l.c.a.AzureConnection(ConnectionUserAndKey) : class documentation

Part of libcloud.common.azure View Source View In Hierarchy

Known subclasses: libcloud.storage.drivers.azure_blobs.AzureBlobsConnection

Represents a single connection to Azure
Method add_default_params Undocumented
Method pre_connect_hook Undocumented
Method _get_azure_auth_signature Signature = Base64( HMAC-SHA1( YourSecretAccessKeyID, UTF-8-Encoding-Of( StringToSign ) ) ) );
def add_default_params(self, params): (source)
Undocumented
def pre_connect_hook(self, params, headers): (source)
Undocumented
def _get_azure_auth_signature(self, method, headers, params, account, secret_key, path='/'): (source)
        Signature = Base64( HMAC-SHA1( YourSecretAccessKeyID,
                            UTF-8-Encoding-Of( StringToSign ) ) ) );

        StringToSign = HTTP-VERB + "
" +
            Content-Encoding + "
" +
            Content-Language + "
" +
            Content-Length + "
" +
            Content-MD5 + "
" +
            Content-Type + "
" +
            Date + "
" +
            If-Modified-Since + "
" +
            If-Match + "
" +
            If-None-Match + "
" +
            If-Unmodified-Since + "
" +
            Range + "
" +
            CanonicalizedHeaders +
            CanonicalizedResource;
        
API Documentation for libcloud, generated by pydoctor at 2013-02-18 10:41:20.