if I were to copy the script to the server under what folder should I put it? as we are trying to install an agent on Kubernetes following this tutorial
https://github.com/anjuls/wazuh-agent-kubernetes and we need the API connection as we see the default username and password is not very secure within the script that why we wanted to change it. as you can see below from we are trying to connect from the machine to Wazuh

and we managed to connect to Wazuh it means that the script is executed. I still don't understand if the script does not exist within the server then how our Kubernetes agent can connect to the Wazuh server and read the default username and password provided within the script?