docs/docker-hub/group-mapping.md

1.6 KiB
Raw Blame History

description keywords title
Group mapping in Docker Hub Group Mapping, SCIM, Docker Hub Group Mapping

With directory group-to-team provisioning from your IdP, user updates will automatically sync with your Docker organizations and teams.

To correctly assign your users to Docker teams, you must create groups in your IDP following the naming pattern organization:team. For example, if you want to manage provisioning for the team "developers” in Docker, and your organization name is “moby,” you must create a group in your IdP with the name “moby:developers”.

Once you enable group mappings in your connection, users assigned to that group in your IdP will automatically be added to the team “developers” in Docker.

Tip

Use the same names for the Docker teams as your group names in the IdP to prevent further configuration. When you sync groups, a group is created if it doesnt already exist. {: .tip}

To take advantage of group mapping, make sure you have enabled SCIM and then follow the instructions provided by your IdP:

  • Okta{: target="blank" rel="noopener" class="" }
  • Azure AD{: target="blank" rel="noopener" class="" }
  • OneLogin{: target="blank" rel="noopener" class="" }

Once complete, a user who signs in to Docker through SSO is automatically added to the organizations and teams mapped in the IdP.