Why would this policy not work?

0

I have added a policy in which I've allowed a service acct identity to use VerifyDomainDkim. The gist of the permission= "Effect": "Allow", "Action": "ses:VerifyDomainDkim", "Resource": "arn:aws:ses::[acct-number]:identity/" I am using the same policy to VerifyEmailIdentity and to SendEmails. Those are working but VerifyDomainDkim is not. Using the .Net SDK, I get (One or more errors occurred. (User: arn:aws:iam::[acct-number]:user/[serviceacct] is not authorized to perform: ses:VerifyDomainDkim because no identity-based policy allows the ses:VerifyDomainDkim action))

posta 2 anni fa246 visualizzazioni
1 Risposta
0

Based on https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonses.html#amazonses-identity it looks like the syntax for identity resource is arn:${Partition}:ses:${Region}:${Account}:identity/${IdentityName} and I noticed yours is "arn:aws:ses::acct-number:identity/"

Kishan
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande