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.

Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen