Exemple #1
0
 def __init__(self, host, config, provider,
              service_name=None, region_name=None):
     AuthHandler.__init__(self, host, config, provider)
     HmacKeys.__init__(self, host, config, provider)
     # You can set the service_name and region_name to override the
     # values which would otherwise come from the endpoint, e.g.
     # <service>.<region>.amazonaws.com.
     self.service_name = service_name
     self.region_name = region_name
Exemple #2
0
 def __init__(self, *args, **kw):
     QuerySignatureHelper.__init__(self, *args, **kw)
     AuthHandler.__init__(self, *args, **kw)
     self._hmac_256 = None
Exemple #3
0
 def __init__(self, host, config, provider):
     AuthHandler.__init__(self, host, config, provider)
     HmacKeys.__init__(self, host, config, provider)
Exemple #4
0
 def __init__(self, host, config, provider):
     AuthHandler.__init__(self, host, config, provider)
     HmacKeys.__init__(self, host, config, provider)
     self._hmac_256 = None