def get_properties(data):
    """ Get properties from data

    :param data: the request data to be authorized
    :return: properties: request properties
    """
    properties = {}
    url = data['url'].split('/')
    if len(url) == 2 and url[1]:
        properties['bucket-name'] = url[1]
    if len(url) > 2 and url[2]:
        properties['object-key'] = url[2].split('?')[0]
    return properties