venafi REST Invalid API Key

Hello. I'm having this API key invalid error when I'm certain the same api key i could authorize into swagger ui.  For a simple test, I'm running this curl in linux which throws this api key not valid error. 

curl -X GET "https://XXXXXXX/vedsdk/certificates/Request" -H "accept: "*/*"" -H "Content-Type: application/json" -H "Cache-Control: no-cache

{"error":"API key 'XXXXXXXXXXXXXXXXXXXXXXXX' is not valid. Try authorize or authorize integrated"}

1 comment

Please sign in to leave a comment.