Execute cmd arguments

Is there a way to secure the passing arguments follows after restic keyword?
Restic -r “Path” snapshots --json

Assume that Restic is client and my local agent is server. Since restic is command line tool, we are passing all arguments to get the desired result.
To add a secure layer between server and client, is there a way we can encrypt all cmd arguments and decrypt at restic and run without issue? Please advise.

It’s highly unclear what you mean or are trying to ask. Let’s rewind; What actual problem are you trying to solve?