keystoneclient.v3.contrib package

Submodules

keystoneclient.v3.contrib.trusts module

class keystoneclient.v3.contrib.trusts.Trust(manager, info, loaded=False)

Bases: keystoneclient.base.Resource

Represents a Trust.

Attributes:
  • id: a uuid that identifies the trust
  • impersonation: allow explicit impersonation
  • project_id: project ID
  • trustee_user_id: a uuid that identifies the trustee
  • trustor_user_id: a uuid that identifies the trustor
class keystoneclient.v3.contrib.trusts.TrustManager(client)

Bases: keystoneclient.base.CrudManager

Manager class for manipulating Trusts.

base_url = '/OS-TRUST'
collection_key = 'trusts'
create(trustee_user, trustor_user, role_names=None, project=None, impersonation=False, expires_at=None, **kwargs)

Create a Trust. :param string trustee_user: user who is capable of consuming the trust :param string trustor_user: user who’s authorization is being delegated :param string role_names: subset of trustor’s roles to be granted :param string project: project which the trustor is delegating :param boolean impersonation: enable explicit impersonation :param datetime.datetime expires_at: expiry time

delete(trust)

Delete a trust.

get(trust)

Get a specific trust.

key = 'trust'
list(trustee_user=None, trustor_user=None, **kwargs)

List Trusts.

resource_class

alias of Trust

update()

Module contents

Table Of Contents

Previous topic

keystoneclient.v3 package

This Page