Просмотр исходного кода

docs: Fix IAM policy AWS SM provider (#4275)

Signed-off-by: Carlos Lopez <carloslm@nuclia.com>
Carlos Lopez 1 год назад
Родитель
Сommit
ab5de78629
1 измененных файлов с 8 добавлено и 1 удалено
  1. 8 1
      docs/provider/aws-secrets-manager.md

+ 8 - 1
docs/provider/aws-secrets-manager.md

@@ -27,6 +27,14 @@ For Batch permissions read the following post https://aws.amazon.com/about-aws/w
 {
   "Version": "2012-10-17",
   "Statement": [
+    {
+      "Action" : [
+        "secretsmanager:ListSecrets",
+        "secretsmanager:BatchGetSecretValue"
+      ],
+      "Effect" : "Allow",
+      "Resource" : "*"
+    },
     {
       "Effect": "Allow",
       "Action": [
@@ -34,7 +42,6 @@ For Batch permissions read the following post https://aws.amazon.com/about-aws/w
         "secretsmanager:GetSecretValue",
         "secretsmanager:DescribeSecret",
         "secretsmanager:ListSecretVersionIds"
-        "secretsmanager:BatchGetSecretValue"
       ],
       "Resource": [
         "arn:aws:secretsmanager:us-west-2:111122223333:secret:dev-*"