Elastic search cluster x-pack security

Hello sir, I am using two IPs: 92 and 93. On IP 92, node-1 is installed, and on IP 93, node-2 is installed. After that, I added two extra nodes using the tar file on each IP, so now on IP 92, nodes 1, 3, and 4 are installed, and on IP 93, nodes 2, 5, and 6 are installed. I have set nodes 1, 2, and 3 as master/data nodes. Currently, x-pack security is disabled, and everything is running fine. However, I want to set the same password for all nodes. Is there any solution for this?