python-openstackclient/doc/source/command-objects/trust.rst
Kevin_Zheng 446e6f2fa8 change os in command example to openstack(3)
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: Ie67c0152d8ff8b7c456f91dc8b9a9164437ee9d1
2016-12-20 09:26:15 +08:00

1.8 KiB

trust

Identity v3

trust create

Create new trust

trust create

openstack trust create
    --project <project>
    --role <role>
    [--impersonate]
    [--expiration <expiration>]
    [--project-domain <domain>]
    [--trustor-domain <domain>]
    [--trustee-domain <domain>]
    <trustor>
    <trustee>

--project <project>

Project being delegated (name or ID) (required)

--role <role>

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

--impersonate

Tokens generated from the trust will represent <trustor> (defaults to False)

--expiration <expiration>

Sets an expiration date for the trust (format of YYYY-mm-ddTHH:MM:SS)

--project-domain <project-domain>

Domain the project belongs to (name or ID). This can be used in case collisions between user names exist.

--trustor-domain <trustor-domain>

Domain that contains <trustor> (name or ID)

--trustee-domain <trustee-domain>

Domain that contains <trustee> (name or ID)

<trustor-user>

User that is delegating authorization (name or ID)

<trustee-user>

User that is assuming authorization (name or ID)

trust delete

Delete trust(s)

trust delete

openstack trust delete
    <trust> [<trust> ...]

<trust>

Trust(s) to delete

trust list

List trusts

trust list

openstack trust list

trust show

Display trust details

trust show

openstack trust show
    <trust>

<trust>

Trust to display