SES Templates do not support specific resources or conditions

0

Hello AWS Community,

I am setting up IAM permissions to isolate each developer's stack in my organization. However, shared resources are problematic when it comes to applying the least-privilege access principle.

I want to delegate SES template management to the developers of the team. This means each developer has a CloudFormation stack with email templates and I need to prevent a developer from interacting with templates which he/she does not own.

According to https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonses.html , this is impossible. The only possible resource for the action ses:UpdateTemplate is "*" and no condition is supported. This means that an attacker using a developer's credentials could update a template used in production and insert malicious content. This seems like a huge security oversight from Amazon.

Is it not possible to delegate SES template management in a secure way or am I missing something?

Looking forward to your answers,
Thank you!

Edited by: ArielGadboisRoy on Apr 9, 2021 1:11 PM

已提問 3 年前檢視次數 466 次
1 個回答
0

The answer is to use the SES v2 API, because it supports template resources in IAM policies.
https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonsimpleemailservicev2.html

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南