22 Aug 2025 04:21 PM
Hello,
I'm trying to have the account management in code using Monaco.
I'm struggling with two questions and hopefully someone has the answer.
- Is there a way to set permissions to service users?
- Is there a way to set up policy boundary and bound it on a policy in a group?
I cannot seem to find the definitions of these ones if there is.
Solved! Go to Solution.
17 Sep 2025 04:33 PM
Hello,
1. To set permissions for service users, follow this documentation:
https://docs.dynatrace.com/docs/shortlink/configuration-as-code-account-configuration#service-users
You can specify the group to which the service user belongs, and add permissions to those groups.
2. Boundaries, unfortunately, are not supported by Monaco yet, although it is planned in the Configuration as Code roadmap. I would suggest giving the Account Management API a try to bulk edit boundaries:
https://api.dynatrace.com/spec#/Policy%20management/postPolicyBoundary
Please let me know if I can help you further.