Skip to content

Instantly share code, notes, and snippets.

@harivemula
Created July 29, 2022 02:01
Show Gist options
  • Save harivemula/0cc4127a92d150e19b2072410fb9285c to your computer and use it in GitHub Desktop.
Save harivemula/0cc4127a92d150e19b2072410fb9285c to your computer and use it in GitHub Desktop.
Login to AWS OpenSearch with API
curl -k -X POST https://<URL>/_dashboards/auth/login -H "osd-xsrf:true" -H "content-type:application/json" \
-d '{"username":"<username>", "password":"<password>"}' -c auth.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment