

def add_default_params(self, params):
    params['SignatureVersion'] = '2'
    params['SignatureMethod'] = 'HmacSHA256'
    params['AWSAccessKeyId'] = self.user_id
    params['Version'] = API_VERSION
    params['Timestamp'] = time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime())
    params['Signature'] = self._get_aws_auth_param(params, self.key)
    return params

dataset/ETHPy150Open infincia/AEServmon/libcloud/drivers/ec2.py EC2Connection.add_default_params/original