Unix Execute

I need to execute a shell script on a remote server. I’ve obtained the Unix Execute snap for that purpose but to configure the Unix Passwordless account I need to upload the .pem file to the snaplogic file repository. It feels a bit insecure to me and I was hoping to instead place it on our groundplex but from what I can see that isn’t an option. Has anyone else done something similar to optimise security?