That's how I'll record the keys. And when I list the keys, I can see them all, right?
That's how I'll record the keys.
And when I list the keys, I can see them all, right?
And when I list the keys, I can see them all, right?

.invalid is promised to not exist, right?
const ips = new Set();
let cursor = undefined;
while(true) {
const result = await env.KV.list({ cursor });
for(const { name } of result.keys) {
ips.add(await env.KV.get(name));
}
if(result.list_complete) {
break;
}
cursor = result.cursor;
}
console.log(Array.from(ips.values()));