Swarm deploy --with-registry-auth and new managers/workers

I wanted to know how docker stack deploy –with-registry-auth option exactly works.

Does it share the authentication with all the managers? If a new manager is added, will it have also the credentials? If a new worker is added later and needs to pull images, will it be able to get the credentials from any of the managers? Also if the original manager that logged in is no longer available?

Thanks for your help!