python-openstackclient/doc/source/command-objects/request-token.rst
Steve Martinelli d9c217e5bc Request token authorize
Command doc and tweaks to the code

Change-Id: I8f251bf9ca77f16b01a509844e79ddde82048b0d
2015-01-09 09:20:24 +00:00

58 lines
1.1 KiB
ReStructuredText

=============
request token
=============
Identity v3
`Requires: OS-OAUTH1 extension`
request token authorize
-----------------------
Authorize a request token
.. program:: request token authorize
.. code:: bash
os request token authorize
--request-key <consumer-key>
--role <role>
.. option:: --request-key <request-key>
Request token to authorize (ID only) (required)
.. option:: --role <role>
Roles to authorize (name or ID) (repeat to set multiple values) (required)
request token create
--------------------
Create a request token
.. program:: request token create
.. code:: bash
os request token create
--consumer-key <consumer-key>
--consumer-secret <consumer-secret>
--project <project>
[--domain <domain>]
.. option:: --consumer-key <consumer-key>
Consumer key (required)
.. option:: --description <description>
Consumer secret (required)
.. option:: --project <project>
Project that consumer wants to access (name or ID) (required)
.. option:: --domain <domain>
Domain owning <project> (name or ID)