s3:net: fix the usage for net idmap secret (removing alloc)