summaryrefslogtreecommitdiff
path: root/README.rst
blob: 2be9bfbb0028c2097dfb9d6a1ab9af66ab07a021 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Python bindings to the Trove API
==================================================

This is a client for the Trove API. There's a Python API (the
``troveclient`` module), and a command-line script (``trove``). Each
implements 100% (or less ;) ) of the Trove API.

Command-line API
----------------

To use the command line API, first log in using your user name, api key,
tenant, and appropriate auth url.

.. code-block:: bash

    $ trove-cli --username=jsmith --apikey=abcdefg --tenant=12345 --auth_url=http://trove_auth:35357/v2.0/tokens auth login

At this point you will be authenticated and given a token, which is stored
at ~/.apitoken. From there you can make other calls to the CLI.

TODO: Add docs