I have successfully setup a Argo Tunnel between Cloudflare and my origin server. I have started the process of configuring Argo to run as a service on bootup but the config.yml requires an argument setting of a credentials file. Where/How do we retrieve this file?
I reran the Argo installation to verify if I missed a .json credentials file, but I am only presented to save the .pem file. I initially thought the .pem file was the credentials file, but from what I have read, it appears that I require a .json file.
When you first create a tunnel using cloudflared tunnel create tunnel_name, a JSON file will be created inside ~/.cloudflared folder (assume you are using Linux).
Is your credentials file stored in the same location as your config file?
I’ve found that if you have a file named config.yml in /etc/cloudflared, running cloudflared tunnel run (with or without the tunnel name) will run the tunnel with the config file stored in /etc/cloudflared. If the credentials file isn’t in there, it will complain about the file missing.