Can I use hints based autodiscovery with Docker Swarm secrets?

Per Securely manage credentials while monitoring Kubernetes workloads with autodiscovery | Elastic Blog it is possible to use Kubernetes secrets with hints based autodiscovery.

Can I do the same with Docker Swarm secrets? I couldn't find anything on the topic in the docs or via Google.

If it is, what is the syntax?

Thanks!

I'm guessing not... Anyone from Elastic want to confirm?