opensearch-project / documentation-website

The documentation for OpenSearch, OpenSearch Dashboards, and their associated plugins.
https://opensearch.org/docs
Apache License 2.0
62 stars 431 forks source link

[DOC] Document how to control read/write access #863

Open dblock opened 1 year ago

dblock commented 1 year ago

What do you want to do?

Tell us about your request.

Coming from https://github.com/opensearch-project/opensearch-py/issues/95 and https://github.com/aws/aws-cdk/issues/17761#issuecomment-1186674964, document how to control read/write access to OpenSearch. Specifically call out that that trying to control read/write access by HTTP verb will not work. See https://github.com/opensearch-project/OpenSearch/issues/4177.

Do you have any related resources to help us get started?

https://github.com/opensearch-project/opensearch-py/issues/95 https://github.com/aws/aws-cdk/issues/17761

alicejw1 commented 1 year ago

Hi @dblock , do you know if this issue is only for the Python client? (mentioned in linked issue: https://github.com/opensearch-project/opensearch-py/issues/95) thanks

alicejw1 commented 1 year ago

note: looks like we also need to update this top-level page for the Search API (per linked ticket https://github.com/aws/aws-cdk/issues/17761#issuecomment-1186674964,) https://opensearch.org/docs/latest/opensearch/rest-api/search/

alicejw1 commented 1 year ago

@dblock , I'm searching for the information in the linked tickets to write the instructions for How to control read/write access in OpenSearch. Do you have this information, or could you help clarify how do they do this?

I can also put the note in the REST API section that warns them not to use an HTTP verb to control read/write access. thanks

dblock commented 1 year ago

I don't have answers unfortunately @alicejw-aws, this needs some thorough research and experimenting, cc: @elfisher

hdhalter commented 1 year ago

Reassigning to @cwillum