...
Once the collection is selected. Click , click on the Manage network access. From the list of network policies, choose the policy name which is the same as collection name. For example prod-553-synsearch.
...
From the list of data access policies, choose the policy name which is same as the collection name. For example prod-553-synsearch.
...
you will notice that in “Select Principle” Principal” there is already a shared stack principle principal added. Add a new principle principal to whom you want to grant access. Click on Add principals button add choose “IAM users and roles”.
...
It will ask you to select IAM user. Add the ARN of Role to which you wan want to give access. In this example I am giving access to Developer role so I am adding ARN of Developer Role. Click on “Save” button to save the changes.
...
It is important to revert the OpenSearch collection access back to Private and remove any temporary access permissions (principals) once the task is completed. As , as leaving the endpoint public is security risk and could lead to accidental modifications.
...