# IAM policy to allow user access to add AWS configs

**URL:** <https://community.dynatrace.com/t/iam-policy-to-allow-user-access-to-add-aws-configs/52628>\
**Category:** Open Q&A\
**Tags:** aws, user-management\
**Created:** [July 24, 2025, 10:39am UTC](https://community.dynatrace.com/t/iam-policy-to-allow-user-access-to-add-aws-configs/52628 "2025-07-24T10:39:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [July 24, 2025, 10:39am UTC](https://community.dynatrace.com/t/iam-policy-to-allow-user-access-to-add-aws-configs/52628/1 "2025-07-24T10:39:13Z")

</div>

Hi,

I’m trying to give a user very specific access to allow them to add AWS/Azure integration via Settings Classic → Cloud and virtualization menu; they should not have access to the entire Settings menu, preferably.  
This is what they currently see:

 ![andre_vdveen_0-1753353335259.png](https://global.discourse-cdn.com/dynatrace/original/3X/7/4/74394e5c434a126b220f4c7afd34289e0207a164.png)

What would the policy need to contain to achieve this?  
I’ve tried the below, but he still doesn’t get access to AWS in the menu.

```auto
ALLOW settings:schemas:read;<br>ALLOW hyperscaler-authentication<img class="lia-deferred-image lia-image-emoji" src="https://community.dynatrace.com/html/@F9676CCDE08B8746467ACFFDC4C9827E/images/emoticons/aws.png" alt=":aws:" title=":aws:">authenticate;<br>ALLOW settings:objects:write WHERE settings:schemaId = 'group:cloud-and-virtualization' AND settings:schemaId = 'builtin:cloud.aws';<br>ALLOW settings:objects:read WHERE settings:schemaId = 'group:cloud-and-virtualization' AND settings:schemaId = 'builtin:cloud.aws';

```

---

<div class="post-metadata">

**Author:** ![Maheedhar\_T](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/maheedhar_t/32/155_2.png) [@Maheedhar\_T](https://community.dynatrace.com/u/Maheedhar_T)\
**Post date:** [July 24, 2025, 10:51am UTC](https://community.dynatrace.com/t/iam-policy-to-allow-user-access-to-add-aws-configs/52628/2 "2025-07-24T10:51:47Z")

</div>

Hi&nbsp;[@andre\_vdveen](https://community.dynatrace.com/user/11931)&nbsp;,  
This requires environment level settings permission.  
I think this would work in this case.

```markup
ALLOW environment:roles:manage-settings WHERE settings:schemaId = 'group:cloud-and-virtualization' AND settings:schemaId = 'builtin:cloud.aws';

```

Let me know if it works.  
Regards,  
[@Maheedhar\_T](https://community.dynatrace.com/user/76275)

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [July 24, 2025, 2:56pm UTC](https://community.dynatrace.com/t/iam-policy-to-allow-user-access-to-add-aws-configs/52628/3 "2025-07-24T14:56:05Z")

</div>

Hi [@Maheedhar\_T](https://community.dynatrace.com/user/76275)

Thanks for the suggestion, but unless I understand the documentation wrong, that role only works with condition

```auto
environment:management-zone

```

I’ve set it up using a Mgmt Zone that the user has access to, but it didn’t work;even if I leave the WHERE clause out and just add

```markup
ALLOW environment:roles:manage-settings;

```

over and above what I originally added.

---

<div class="post-metadata">

**Author:** ![avdveen](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@avdveen](https://community.dynatrace.com/u/avdveen)\
**Post date:** [July 24, 2025, 7:25pm UTC](https://community.dynatrace.com/t/iam-policy-to-allow-user-access-to-add-aws-configs/52628/4 "2025-07-24T19:25:33Z")

</div>

I think herein lies the answer to my question and problem.

 ![andre_vdveen_0-1753384975502.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/c/bc630a5da6c71c2eaa4d14d3618c66679d0e39e2.png)

This means I have to assign the policy “Environment role - Change monitoring settings” to the user, which means they can change any setting, not just AWS.

---

<div class="post-metadata">

**Author:** ![Kenny\_Gillette](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kenny_gillette/32/20170_2.png) [@Kenny\_Gillette](https://community.dynatrace.com/u/Kenny_Gillette)\
**Post date:** [July 24, 2025, 7:40pm UTC](https://community.dynatrace.com/t/iam-policy-to-allow-user-access-to-add-aws-configs/52628/5 "2025-07-24T19:40:28Z")

</div>

Agree 100%.&nbsp; I posted in Dec 2023 about this and other scenarios.&nbsp; Crazy that it is not fixed yet.

[https://community.dynatrace.com/t5/Open-Q-A/Settings-1-0-2-0-and-some-settings-are-on-neither/td-p/231226](https://community.dynatrace.com/topic/231226)

---

<div class="post-metadata">

**Author:** ![Kenny\_Gillette](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/kenny_gillette/32/20170_2.png) [@Kenny\_Gillette](https://community.dynatrace.com/u/Kenny_Gillette)\
**Post date:** [July 25, 2025, 12:50pm UTC](https://community.dynatrace.com/t/iam-policy-to-allow-user-access-to-add-aws-configs/52628/6 "2025-07-25T12:50:22Z")

</div>

Looking more at this, this is setting 1.0 so you should be able to provide write access to page (not read).&nbsp; I just tested write access to aws page and it worked.

Here is my IAM policy  
ALLOW settings:objects:write, settings:schemas:read WHERE settings:schemaId IN (“builtin:cloud.aws”);
