python-openstackclient/doc/source/command-objects/request-token.rst
Kevin_Zheng 847da51dea change os in command example to openstack(2)
In the current doc, the command examples are like
"os server create" but the acutal command should
be started with "openstack" instead of "os", it
is misleading to first time users.

Change-Id: I80c96f0938cec382f2f714a500138bd5a2c81aa0
2016-12-20 09:18:55 +08:00

1.1 KiB

request token

Identity v3

Requires: OS-OAUTH1 extension

request token authorize

Authorize a request token

request token authorize

openstack request token authorize
    --request-key <consumer-key>
    --role <role>

--request-key <request-key>

Request token to authorize (ID only) (required)

--role <role>

Roles to authorize (name or ID) (repeat to set multiple values) (required)

request token create

Create a request token

request token create

openstack request token create
    --consumer-key <consumer-key>
    --consumer-secret <consumer-secret>
    --project <project>
    [--domain <domain>]

--consumer-key <consumer-key>

Consumer key (required)

--description <description>

Consumer secret (required)

--project <project>

Project that consumer wants to access (name or ID) (required)

--domain <domain>

Domain owning <project> (name or ID)