Skip to content

Instantly share code, notes, and snippets.

@pmuellr
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pmuellr/9379139 to your computer and use it in GitHub Desktop.
Save pmuellr/9379139 to your computer and use it in GitHub Desktop.
Cloudant, ACE, and VCAP_SERVICES

When using Cloudant with BlueMix, the credentials for your database show up in various places:

| Cloudant                    | ACE           | VCAP_SERVICES |
---------------------------------------------------------------
| https://<user>.cloudant.com | URL           | url           |
| <db name>                   | Database Name | database      |
| API Key key                 | Username      | username      |
| API Key password            | Password      | password      |

Presumably the complete URL would be:

https://{username}:{password}@{user}.cloudant.com/{database}

Note the {user} token above, AFTER the password, is your Cloudant userid.

Create an API key for your Cloudant DB on the Databases panel, by clicking on the lock icon to the right of the database you want the API key added to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment