aws elastcisearch authetication error and showing 403

/_cluster/health: {"error":{"root_cause":[{"type":"security_exception","reason":"no permissions for 
[cluster:monitor/health] and User [name=arn:aws:iam::271481610659:user/developer_2, backend_roles=[], requestedTenant=null]"}],
"type":"security_exception", "reason":"no permissions for [cluster:monitor/health] and User [name=arn:aws:iam::271481610659:user/developer_2,
backend_roles=[],requestedTenant=null]"},"status":403}

Hi,

My aws elasticsearch was working fine but suddenly got this error. Whats wrong here . What credentials it is saying is wrong due to new in these things i am not able to understand

Upvotes: 2

Views: 6910

Answers (1)

Ankit Garg
Ankit Garg

Reputation: 556

The errors says that user "developer_2" has "no permissions". From the same message we can see that the backend roles are empty for this user - backend_roles=[].

To fix this, login using an admin use and use Fine-grained access control settings to assign a backend role to the user "developer_2".

Upvotes: 3

Related Questions