Credentials file '/home/atyson/Documents/streamsets-datacollector-all-3.10.0/streamsets-datacollector-3.10.0/resources/~/Documents/streamsets-datacollector-all-3.10.0/streamsets-datacollector-3.10.0/resources/key.json' not found

Enter a path relative to the Data Collector resources directory, \$SDC_RESOURCES, or enter an absolute path.
It looks like you set Credentials File Path to ~/Documents/streamsets-datacollector-all-3.10.0/streamsets-datacollector-3.10.0/resources/key.json; this is being interpreted as a relative path since it doesn't start with /. If you set Credentials File Path to just key.json, it should work.