You have the solution here with config_path (you need to add the authentication information to the header in the hosts.toml file under your config directory) :
https://github.com/containerd/containerd/discussions/6468#discussioncomment-3713664
https://github.com/containerd/containerd/discussions/6468