diff options
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(...) |