def get_tempurl_keys_from_metadata(meta):
    return [get_valid_utf8_str(value) for key, value in meta.items()
            if key.lower() in ('temp-url-key', 'temp-url-key-2')]
Extracts the tempurl keys from metadata.
dataset/ETHPy150Open openstack/swift/swift/common/middleware/tempurl.py/get_tempurl_keys_from_metadata