small fix to missing parameters in documentation
user-name is given, but is pointless without a domain to scope the user to. Change-Id: I12c2f389e1152e82451e368630c5893c0c777df7 Closes-Bug: 1517858
This commit is contained in:
parent
3f12f9e562
commit
0402b103ef
|
@ -64,7 +64,8 @@ passed to the :py:class:`~keystoneauth1.identity.v3.Auth` plugin::
|
|||
>>> from keystoneauth1 import session
|
||||
>>> from keystoneauth1.identity import v3
|
||||
>>> password = v3.PasswordMethod(username='user',
|
||||
... password='password')
|
||||
... password='password',
|
||||
... user_domain_name='default')
|
||||
>>> auth = v3.Auth(auth_url='http://my.keystone.com:5000/v3',
|
||||
... auth_methods=[password],
|
||||
... project_id='projectid')
|
||||
|
@ -88,7 +89,8 @@ like the V2 plugins:
|
|||
>>> auth = v3.Password(auth_url='http://my.keystone.com:5000/v3',
|
||||
... username='username',
|
||||
... password='password',
|
||||
... project_id='projectid')
|
||||
... project_id='projectid',
|
||||
... user_domain_name='default')
|
||||
>>> sess = session.Session(auth=auth)
|
||||
|
||||
This will have exactly the same effect as using the single
|
||||
|
|
Loading…
Reference in New Issue