OpenSearch Serverless Authentication with AWS IAM Credentials in .NET Application

0

Problem Description: I’m trying to use OpenSearch Serverless in my .NET application, but I’m having trouble with authentication using my AWS IAM credentials. Here are the details:

Issue:

  • I have a collection with public availability in OpenSearch.
  • I can access the OpenSearch Dashboard without any issues.
  • However, when I try to connect to the server from my .NET application using the NuGet package OpenSearch.Client, I’m not sure how to use my AWS IAM credentials.
  • Every attempt results in a 403 Forbidden response.

Questions: How can I properly authenticate my .NET application with OpenSearch Serverless using my AWS IAM credentials? Are there specific permissions I need to configure for this?

Desired Outcome: I want to be able to make authenticated requests to OpenSearch Serverless from my .NET application using my AWS IAM credentials.

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions