Search code examples
ibm-cloudspeech-recognitioncredentialsibm-watsonibm-cloud-tools

How to get IAM apikey and IAM url for Watson Speech to Text?


I want to play with the IBM Watson Speech to Text Service. How do I get the IAM apikey and the IAM url.

On show credentials, I get this - { "apikey": "###########", "iam_apikey_description": "Auto generated apikey during resource-key operation for Instance - #######", "iam_apikey_name": "######", "iam_role_crn": "######", "iam_serviceid_crn": "######", "url": "https://gateway-syd.watsonplatform.net/speech-to-text/api" }


Solution

  • If you are using the API docs to code in a programming language like Node.JS - Your apikey in the credentials is the IAM_apikey and url is the URL in your credentials.

    If you are planning to use curl, you can generate an access token using the apikey and url following the instructions here