Browse Source

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

Signed-off-by: Carlos Lopez <carloslm@nuclia.com>
Carlos Lopez 1 year ago
parent
commit
ab5de78629
1 changed files with 8 additions and 1 deletions
  1. 8 1
      docs/provider/aws-secrets-manager.md

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

@@ -28,13 +28,20 @@ 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": [
         "secretsmanager:GetResourcePolicy",
         "secretsmanager:GetSecretValue",
         "secretsmanager:DescribeSecret",
         "secretsmanager:ListSecretVersionIds"
-        "secretsmanager:BatchGetSecretValue"
       ],
       "Resource": [
         "arn:aws:secretsmanager:us-west-2:111122223333:secret:dev-*"