diff options
author | Michael Simo <os@mpmsimo.com> | 2015-05-27 16:44:26 +0000 |
---|---|---|
committer | Michael Simo <os@mpmsimo.com> | 2015-05-27 16:46:32 +0000 |
commit | 519282d883233b60ce9f36f6a7ae271c4efdd166 (patch) | |
tree | 3e79f8b254b84ae406700c711f633c08eaea90e6 /doc/source/using-api-v2.rst | |
parent | 4776495adfadbf5240a9e0f169990ce139af9549 (diff) | |
download | python-keystoneclient-519282d883233b60ce9f36f6a7ae271c4efdd166.tar.gz |
Fixed grammatical errors in the V2 Client API doc
In the using-api-v2.rst document, various inconsistencies in spelling of
"openstackDemo", as well as the password under the "Creating Tenants" and
"Creating Users" sections.
Updated service names to adhere to the OpenStack service naming conventions.
Fixed capitalization of "Client" to "client".
Change-Id: Ib20782f5b05f7097158f606c6562f92126650b89
Closes-Bug: #1458015
Diffstat (limited to 'doc/source/using-api-v2.rst')
-rw-r--r-- | doc/source/using-api-v2.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/source/using-api-v2.rst b/doc/source/using-api-v2.rst index 03e76e1..6285d21 100644 --- a/doc/source/using-api-v2.rst +++ b/doc/source/using-api-v2.rst @@ -1,5 +1,5 @@ ======================= -Using the V2 Client API +Using the V2 client API ======================= Introduction @@ -36,7 +36,7 @@ it will raise an instance of subclass of Authenticating ============== -There are two ways to authenticate against Keystone: +There are two ways to authenticate against keystone: * against the admin endpoint with the admin token * against the public endpoint with a username and password @@ -56,7 +56,7 @@ user:: >>> from keystoneclient.v2_0 import client >>> username='adminUser' - >>> password='secreetword' + >>> password='secretword' >>> tenant_name='openstackDemo' >>> auth_url='http://192.168.206.130:5000/v2.0' >>> keystone = client.Client(username=username, password=password, @@ -65,7 +65,7 @@ user:: Creating tenants ================ -This example will create a tenant named *openStackDemo*:: +This example will create a tenant named *openstackDemo*:: >>> from keystoneclient.v2_0 import client >>> keystone = client.Client(...) @@ -77,7 +77,7 @@ Creating users ============== This example will create a user named *adminUser* with a password *secretword* -in the opoenstackDemo tenant. We first need to retrieve the tenant:: +in the openstackDemo tenant. We first need to retrieve the tenant:: >>> from keystoneclient.v2_0 import client >>> keystone = client.Client(...) |