Conjur Rest API Body

As per the REST API docs, it is expecting the body of the authenticate endpoint as API key.
https://docs.conjur.org/Latest/en/Content/Developer/Conjur_API_Authenticate.htm

Should it be the plain text format or should it be in JSON format like { “host”:xxx,“x-amz-date”:“20220606T172150Z”,“x-amz-security-token”: “xxx”…}

if i pass the body in JSON format, i am getting error CONJ00018E Invalid or expired AWS headers: 403 forbidden

Hello @rramesh -
The authenticate endpoint expects the API key to be provided as plain text.