Generate API Key - Error


(Anand) #1

Hello,
While generating the st2 api key, I’m getting following error.

ERROR: 401 Client Error: Unauthorized
MESSAGE: Unauthorized for url: http://127.0.0.1:9101/v1/apikeys


(Lindsay Hill) #2

In order to generate an API key, you need to be authenticated first. Go through normal authentication, get an authentication token, and use that to generate an API key