Skip to main content

Chef Declarative State Management (DSM) user management

To manage users in Chef Declarative State Management (DSM), use chef-platform-auth-cli commands.

Add a user to DSM

To add an existing Chef 360 Platform user to DSM, use the following command:

chef-platform-auth-cli user-account identity retry-dsm-creation --userId <USER_ID> --profile <PROFILE_NAME>

Assign roles to a user

Note

DSM users and organizations are fundamentally different from those in Chef 360 Platform. While they use similar names, DSM objects operate independently and aren’t linked to their Chef 360 Platform counterparts. For instance, nodes defined in Chef 360 Platform Node Management are entirely separate from nodes managed by DSM.

To assign user roles, use knife raw commands with the groups API.

To assign an org-admin role to a user explicitly in DSM, use the following command:

chef-platform-auth-cli user-account user assign-dsm-org-admin --userId <USER_ID> --profile <PROFILE_NAME>

Thank you for your feedback!

×