You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the more advanced dataFrom.find (ESO Docs) feature of ESO, resulted in the following error
{
"level": "error",
"ts": 1679312792.8673346,
"logger": "controllers.ExternalSecret",
"msg": "could not get secret data from provider",
"ExternalSecret": "<foo>/<foo>-ssm",
"SecretStore": "default-parameter-store",
"error": "AccessDeniedException: User: arn:aws:sts::<account>:assumed-role/external-secrets-sa-irsa/external-secrets-provider-aws is not authorized to perform: ssm:DescribeParameters on resource: arn:aws:ssm:eu-central-1:<account>:* because no identity-based policy allows the ssm:DescribeParameters action\n\tstatus code: 400, request id: 0d70ad3c-f5c7-4995-af71-ae43e15cde80",
"stacktrace": "sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/pkg/internal/controller/controller.go:121\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/pkg/internal/controller/controller.go:320\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.3/pkg/internal/controller/controller.go:234"
}
There is no clear documentation what IAM permissions are needed to run ssm:DescribeParameters, but there are hints a wildcard is needed
Description
Using the more advanced
dataFrom.find
(ESO Docs) feature of ESO, resulted in the following errorThere is no clear documentation what IAM permissions are needed to run
ssm:DescribeParameters
, but there are hints a wildcard is neededBy adding the following statement to the SA IAM policy, the controller was happy and created the k8s secret
Versions
Reproduction Code [Required]
Steps to reproduce the behavior:
Expected behaviour
The secret is filled with data
Actual behaviour
Error see above
The text was updated successfully, but these errors were encountered: