Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch Dashboard v2.4.1
I want to curl data from opensearch dashboard but SAML login enabled and I am getting unauthorized 401 when passing username and & password.
curl --insecure -X POST “https://localhost:5601/api/saved_objects/_export” -H “osd-xsrf: true” -H “Content-Type: application/json” -u admin:admin -d’ { “type”: [“index-pattern”, “search”, “visualization”, “dashboard”] }’
Is there any way I can get data through curl when SAML login is enabled?