code: def generate_url(self, expires_in, method='GET', headers=None,
                       query_auth=True, force_http=False, response_headers=None,
                       expires_in_absolute=False):
          
          return self.bucket.connection.generate_url(expires_in, method,
                                                     self.bucket.name, self.name,
                                                     headers, query_auth,
                                                     force_http,
                                                     response_headers,
                                                     expires_in_absolute)
docs: Generate a URL to access this key.
  
          :type expires_in: int
          :param expires_in: How long the url is valid for, in seconds
  
          :type method: string
          :param method: The method to use for retrieving the file
                         (default is GET)
  
          :type headers: dict
          :param headers: Any headers to pass along in the request
  
          :type query_auth: bool
          :param query_auth:
  
          :rtype: string
          :return: The URL to access the key