summaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorJesse Andrews <anotherjesse@gmail.com>2011-12-17 22:36:59 -0800
committerJesse Andrews <anotherjesse@gmail.com>2011-12-17 22:36:59 -0800
commita8001d3e6c12fd5c09be8c90dc7ada145907dca6 (patch)
treec8da249e309418089424a000027f49098c8e5287 /README.rst
parent0f392a58c33aba4b7e6a6801a2a1e2f38066b57f (diff)
downloadpython-keystoneclient-a8001d3e6c12fd5c09be8c90dc7ada145907dca6.tar.gz
more work on standardization of cliauth
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst9
1 files changed, 4 insertions, 5 deletions
diff --git a/README.rst b/README.rst
index 5cb0f2e..eff5f30 100644
--- a/README.rst
+++ b/README.rst
@@ -27,7 +27,7 @@ By way of a quick-start::
# use v2.0 auth with http://example.com:5000/v2.0")
>>> from keystoneclient.v2_0 import client
- >>> keystone = client.Client(user_name=USERNAME, password=PASSWORD, tenant_name=TENANT, auth_url=KEYSTONE_URL)
+ >>> keystone = client.Client(username=USERNAME, password=PASSWORD, tenant_name=TENANT, auth_url=KEYSTONE_URL)
>>> keystone.tenants.list()
>>> tenant = keystone.tenants.create(name="test", descrption="My new tenant!", enabled=True)
>>> tenant.delete()
@@ -49,7 +49,7 @@ with the ``--username``, ``--apikey`` and ``--projectid`` params, but it's
easier to just set them as environment variables::
export OS_TENANT_NAME=project
- export OS_USER_NAME=user
+ export OS_USERNAME=user
export OS_PASSWORD=pass
You will also need to define the authentication url with ``--url`` and the
@@ -66,7 +66,7 @@ can specify the one you want with ``--region_name`` (or
You'll find complete documentation on the shell by running
``keystone help``::
- usage: keystone [--user_name user] [--password password]
+ usage: keystone [--username user] [--password password]
[--tenant_name tenant] [--auth_url URL]
<subcommand> ...
@@ -78,8 +78,7 @@ You'll find complete documentation on the shell by running
Optional arguments:
- --user_name USER Defaults to env[OS_USER_NAME].
- --user_id USERID Defaults to env[OS_USER_ID].
+ --username USER Defaults to env[OS_USERNAME].
--password PASSWORD Defaults to env[OS_PASSWORD].
--tenant_name TENANT Defaults to env[OS_TENANT_NAME].
--tenant_id TENANTID Defaults to env[OS_TENANT_].