TIPS How do I get the Credentials for IBM STT

ericlee1

New Member
Joined
Aug 19, 2018
Messages
18
Reaction score
0
Trying to setup the Speech-To-Text and can't figure out the username/password combo..

this is my sample credentials key, what do I insert in the sendmailibm for username??

{
"apikey": "1lZ8Q5WqXuAKA3wp_FJkZVSNYLhnk28X5OI6CJXYvBeR",
"iam_apikey_description": "Auto generated apikey during resource-key operation for Instance - crn:v1:bluemix:public:speech-to-text:us-east:a/05b19ffc21c64b9d8d4e14a4de19c657:8472ccf0-b6ee-4650-86a0-ac48f5c3a072::",
"iam_apikey_name": "auto-generated-apikey-103ea991-1a2e-4318-8e4e-642f6c311b78",
"iam_role_crn": "crn:v1:bluemix:public:iam::::serviceRole:Manager",
"iam_serviceid_crn": "crn:v1:bluemix:public:iam-identity::a/05b19ffc21c64b9d8d4e14a4de19c657::serviceid:ServiceId-c1e5a0e5-258b-417e-88a6-faabc307b964",
"url": "https://gateway-wdc.watsonplatform.net/speech-to-text/api"
}



???
api_username
api_password
 
Joined
Oct 26, 2013
Messages
69
Reaction score
23
You are using IAM authentication, the apikey is your authentication. In this case, there would not be an api_username or api_password. Normally in the curl command you would send "api_username:api_password". In your case, you would send "apikey:1lZ8Q5WqXuAKA3wp_FJkZVSNYLhnk28X5OI6CJXYvBeR".

However, I hope that is not your real API key, as if it is, you are basically exposing your password to the forum, so you might want to change it...
 

ericlee1

New Member
Joined
Aug 19, 2018
Messages
18
Reaction score
0
yes, credentials were deleted right before I posted this..

1. do I want to use IAM authentication? I was just trying to follow the tutorial...
2. how do I edit the bluemix-test or sendmailibm to reflect the IAM authentication
 
Last edited:
Joined
Oct 26, 2013
Messages
69
Reaction score
23
You don't have any choice, from the URL you are using US-East Washington endpoint, and that is the only authentication it uses. You can try entering "apikey" as your api_username, and the actual key as api_password in the script.

Otherwise you could try pointing at the US-South endpoint, but eventually it will also be converted to IAM.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
If you've set up both IBM's TTS and STT components, just be aware of the gotcha of confusing the credentials for the two components which are completely different and are not interchangeable.
 

Members online

Forum statistics

Threads
25,825
Messages
167,850
Members
19,250
Latest member
mark-curtis
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top