openstack.identity.v3.trust¶
The Trust Class¶
The Trust
class inherits from Resource
.
-
class
openstack.identity.v3.trust.
Trust
(attrs=None, loaded=False)¶ Construct a Resource to interact with a service’s REST API.
The Resource class offers two class methods to construct resource objects, which are preferrable to entering through this initializer. See
Resource.new()
andResource.existing()
.Parameters: -
project_id
= None¶ ID of the project upon which the trustor is delegating authorization. Type: string
-
expires_at
= None¶ Specifies the expiration time of the trust. A trust may be revoked ahead of expiration. If the value represents a time in the past, the trust is deactivated.
-
id
= None¶ ID of the trust object. Type: string
-
is_impersonation
= None¶ If
impersonation
is set to true, then theuser
attribute of tokens that are generated based on the trust will represent that of the trustor rather than the trustee, thus allowing the trustee to impersonate the trustor. Ifimpersonation
is set toFalse
, then the token’suser
attribute will represent that of the trustee. Type: bool
-
trustee_user_id
= None¶ Represents the user ID who is capable of consuming the trust. Type: string
-
trustor_user_id
= None¶ Represents the user ID who created the trust, and who’s authorization is being delegated. Type: string
-
roles
= None¶ Specifies the subset of the trustor’s roles on the
project_id
to be granted to the trustee when the token in consumed. The trustor must already be granted these roles in the project referenced by theproject_id
attribute. Type: list
-
redelegation_count
= None¶ Redelegation count
-