Accessing API via Access Key Authentication
I'm currently working on a powershell script that will call the Search Job API and get messages with a specific time declared. Currently, we use Invoke-RestMethod to have access to the API but for some security purposes, we were asked to use the Sumo Logic Access Key authentication against the API. But as I've checked there is no "curl" command on powershell, does anyone no how to do this authentication using access keys via poweshell?
-
Attached Code Snippet : https://community.sumologic.com/s/rich_text_post/a09E000001PURejIAH
Please sign in to leave a comment.
Comments
3 comments