1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
For anyone else who wants to achieve this. I was missing a single permission "kms:GenerateDataKey". Full policy below.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"kms:Encrypt",
"kms:GenerateDataKey",
"s3:PutObject",
"s3:ListBucket",
"s3:PutObjectAcl"
],
"Resource": [
"arn:aws:s3:::<BucketName>",
"arn:aws:s3:::<BucketName>/*",
"arn:aws:kms:<Region>:<AccountID>:key/<KeyID>"
]
},
{
"Sid": "VisualEditor1",
"Effect": "Allow",
"Action": "s3:HeadBucket",
"Resource": "*"
}
]
}
répondu il y a 5 ans
Contenus pertinents
- demandé il y a 3 mois
- demandé il y a 7 mois
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a 3 mois
- AWS OFFICIELA mis à jour il y a un an