https://man7.org/linux/man-pages/man8/ip-macsec.8.html

Generally its used when you have links going between two of your sites, so you typically only need it on your switch or router that terminate that link.