I want to spin up a docker swarm cluster on AWS. We plan to use IAM roles to define the access level of each service inside the docker swarm cluster. Is there a way to achieve this? I did go through below article but it was 4 years ago and I believe there would have been progress in this are since Kubernetes have a provision of specifying role for every namespace. Do we have something like this for docker swarm ?
https://eng.lyft.com/scoping-aws-iam-roles-to-docker-containers-c9c5f8f2f75