I have created a cloudant DB in bluemix dedicated. But it didn't give me credentials. It provides me with a link to launch the admin portal, which works fine. But clearly not very useful without credentials to use with code...
You should bind the service to an application. Doing that you will be able to see the credentials in the VCAP_SERVICES environment variable. You can find its value within the application dashboard, clicking on "Environment Variables" on the left.
You will also find the credentials clicking on the "Service Credentials" button that you can find on the service instance panel (again in the application dashboard).
Your dedicated environment may look a bit different that the public Bluemix dashboard, but when I click on the tile that shows my cloudant service, it takes me to a page with a menu on the left with the option "Service Credentials" once I choose that the window shows a button to "Add Credentials".
Related
When I click on the Open Console button from by Db2 resource on the IBM Cloud, I am getting the following error:
Error 401: SRVE0295E: Error reported: 401
I am logged into my Cloud account, so I'm not sure why there is an authorization error.
The Open Console button uses SSO for authentication. I can't diagnose why you're getting a 401 in this case, but you can instead try logging in using the given username and password. You can find this by navigating to the Service Credentials tab on the left side of the service instance page, clicking New Credential, clicking Add in the dialog box, and clicking View credentials to expand the JSON contents. You can find your username and password there and use them to log in.
I had the same problem. The only way how I have resolved this is just by deleting this Db2 service and creating the new one.
Be sure that the location chosen while creating the new Db2 service is DALLAS.
I have an IBM Watson Assistant service with username and password format and now I want to create new credentials which should have IAM key for this service, Please let us know how we can achieve this.
You can also migrate your Cloud Foundry service instance that uses un:pw to one that supports IAM. See Migrating Watson services from Cloud Foundry
There are (at least) two options to obtain IAM credentials for you IBM Watson Assistant service:
In the browser, go to the service dashboard by going to the IBM Cloud resources portal, locate your service instance, click on it and then in its dashboard on Service credentials. There you can create new credentials.
In a terminal and using the IBM Cloud CLI you can use ibmcloud resource service-key-create to generate credentials.
Both options assume that you have migrated your service instance from Cloud Foundry to IAM.
For creating a new credential, you can directly go to your watson assistant service/resource page, once there, on the left hand side, you would find "Service Credentials" menu button, there you would find an option to create a "New credential", and once the credential is created, then the "apikey" of that "New credential", would actually be your "IAM key", which can be viewed by clicking on the "View Credential" button highlighted below in the image.
*This is for IBM Watson Assistant V1 only.
While I try to create a bluemix application and then click to create and add a new Discovery service to the same application I get "422 - failed to get credentials service. How do I resolve this ?
Can you check to see that your service has credentials? You can do this by going to your service instance in bluemix and clicking on the "Service Credentials" link. If you don't have any service credentials listed then click on the "New Credential" button and once you have new credentials try clicking on the "Launch tool" button again.
If that doesn't work then I'd click the "x" on that error to dismiss it and then look at the service instances dropdown in the top right. Double check to make sure that the selected service instance in that dropdown is the same service instance that you created in bluemix that has the credentials. If it isn't then make sure to select the correct service instance from the dropdown.
I have a BlueMix application using NodeRed and I want to sign up for the ElephantSQL service so I can store some tabular data, but when I browse to the service in the catalog I don't see any option to sign up. The only thing that is close is an option "connect to" which allows me to select one of my applications. However, selecting my target application does not sign me up for the service and when I browse back to the service I see it has forgotten my selection.
I understand and that is definitely the cause of the issue. Please open ticket with Bluemix Support so we can look into your account and resolve this issue:
https://console.ng.bluemix.net/docs/support/index.html
I have launched the dashDB console and wanted to use R studio. After launching R studio from the console page, I'm prompted for the username and password. Where do I retrieve my credentials for R-studio from Bluemix or dashDB?
1) Click on your dashDB service instance
2) You can launch dashDB service using "Launch" button top right hand side.
3) Once the dashDB dashboard loads, on left hand side, click on : Setup -> Connect Applications
4) You will find SSL/non-SSL connection information