python-openstackclient/doc/source/command-objects/trust.rst
Steve Martinelli cf23fd5cf6 Implement trust in identity v3 api
Added new module in identity v3 api to handle create, read, and delete
operations of trust resources.

Co-Authored-By: Lance Bragstad <lbragstad@gmail.com>
Co-Authored-By: Steve Martinelli <stevemar@ca.ibm.com>

Closes-Bug: #1413718
Change-Id: I2b360b141ff70d4f396466abede859a3db6644f4
2015-02-08 20:49:43 -05:00

1.6 KiB

trust

Identity v3

trust create

Create new trust

trust create

os 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 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 <domain>

Domain that contains <project> (name or ID)

--trustor-domain <domain>

Domain that contains <trustor> (name or ID)

--trustee-domain <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

os trust delete
    <trust> [<trust> ...]

<trust>

Trust(s) to delete

trust list

List trusts

trust list

os trust list

trust show

Display trust details

trust show

os trust show
    <trust>

<trust>

Trust to display