diff options
author | Gabriel Hurley <gabriel@strikeawe.com> | 2011-10-31 15:59:25 -0700 |
---|---|---|
committer | Gabriel Hurley <gabriel@strikeawe.com> | 2011-10-31 15:59:25 -0700 |
commit | 6cd7a4302452ef9f801629d3f4c6a61bb61bc6f6 (patch) | |
tree | 0d5ba409f34199fcebf294e586314972467c6a44 /README.rst | |
parent | 2cb99fccfed4f538a9c718ea3dbc466c3f96c517 (diff) | |
download | python-keystoneclient-6cd7a4302452ef9f801629d3f4c6a61bb61bc6f6.tar.gz |
Updated the docs a little bit.
Diffstat (limited to 'README.rst')
-rw-r--r-- | README.rst | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -25,9 +25,9 @@ Python API By way of a quick-start:: - # use v2.0 auth with http://example.com:5000/v2.0/") + # use v2.0 auth with http://example.com:5000/v2.0") >>> from keystoneclient.v2_0 import client - >>> keystone = client.Client(USERNAME, API_KEY, PROJECT_ID) + >>> keystone = client.Client(username=USERNAME, password=API_KEY, project_id=TENANT, auth_url=KEYSTONE_URL) >>> keystone.tenants.list() >>> tenant = keystone.tenants.create(name="test", descrption="My new tenant!", enabled=True) >>> tenant.delete() |