Cloudant Password

Viewing 4 reply threads
  • Author
    Posts
  • October 12, 2018 at 12:01 AM #31011

    John Mathew
    Participant

    Hi y’all,

    Am trying to use cloudant for syncing my database. Have followed the instruction re setting up an account, but I’m not sure where to find the password.

    This is the alphabet soup I get from the “credentials” on the cloudant site:

    {
    “apikey”: “1ZQdMj162xdk3vf4N0ZMkQAhN4oikS2z5-xCd-SXAAIX”,
    “iam_apikey_description”: “Auto generated apikey during resource-key operation for Instance – crn:v1:bluemix:public:cloudantnosqldb:eu-gb:a/6573add2f18f4d48b22620fd392dd094:32191e04-2a8b-4bbe-bc54-bff77190292f::”,
    “iam_apikey_name”: “auto-generated-apikey-36ca775e-c28c-425c-bf55-4f5754841a8a”,
    “iam_role_crn”: “crn:v1:bluemix:public:iam::::serviceRole:Manager”,
    “iam_serviceid_crn”: “crn:v1:bluemix:public:iam-identity::a/6573add2f18f4d48b22620fd392dd094::serviceid:ServiceId-2432e2f3-f9ba-4cc1-be44-15a42d4bc426”,
    “url”: “https://2dc42a4a-07a3-405f-91f6-66fbe35a4cdd-bluemix.cloudant.com”,
    “username”: “2dc42a4a-07a3-405f-91f6-66fbe35a4cdd-bluemix”
    }

    The username is pretty apparent, but I have no idea what the password is. Can anyone help?

    Many thanks in advance.

    October 12, 2018 at 10:45 AM #31017

    Brendan
    Keymaster

    Hi John,

    During the setup process there was an option called “Available authentication methods”. It would seem that you selected the IAM Only option. You need to choose the Use both legacy credentials and IAM option instead.

    So you’ll probably have to delete the Cloudant service and re-create it again. There’s a button that looks like 3 vertical dots on the page that shows “Cloudant NoSQL DB” with the green Launch button. Click that and then select the Delete service option.

    Then re-create the service and this time choose the right authentication option.

    Once you’ve done that then you can create the credentials. When you click the View Credentials button, you’ll see the username AND password.

    Thanks!

    Brendan

    October 12, 2018 at 2:15 PM #31021

    John Mathew
    Participant

    Many thanks Brendan! Works like a dream.

    August 28, 2020 at 2:29 PM #41777

    Mark Rudolphi
    Participant

    Might want to update the instructions to reflect the “Use both legacy credentials and IAM” option. I to had the same issue and spent an hour messing with it until I finally came across this forum entry. Seems like a very critically important step that isn’t mentioned in the instructions. Maybe those who are familiar with DBs already know to do this but those of us who are newbies are unaware.

    August 30, 2020 at 12:47 AM #41784

    Brendan
    Keymaster

    Hi Mark,

    That is actually in the documentation in step 15:

    If you have the choice of Available authentication methods, you MUST choose the Use both legacy credentials and IAM. If you don’t choose that option, you won’t get a username and password from the next step.

Viewing 4 reply threads

You must be logged in to reply to this topic.