Bases: OCIType
External user identity id identifies pre-authenticated user/admin id performing a session-less OCI request. id can be a user/admin’s primary Id/alternate Id/external Id. organizationId identifies organization id the user/admin belongs to.
Attributes:
id (str): The ID of the user or administrator initiating the OCI-P request.
a user or administrator
organization_id (str): The ID of the user or administrator's organization
The ID must match a service provider or enterprise external id
role (str): The role of the external user identity.
Source code in src/mercury_ocip/commands/commands.py
| @dataclass(kw_only=True)
class ExternalUserIdentity(OCIType):
"""External user identity id identifies pre-authenticated user/admin id performing a session-less OCI request.
id can be a user/admin’s primary Id/alternate Id/external Id.
organizationId identifies organization id the user/admin belongs to.
Attributes:
id (str): The ID of the user or administrator initiating the OCI-P request.
# The ID must match a primary, alternate or external ID configured on the AS for
# a user or administrator
organization_id (str): The ID of the user or administrator's organization
# The ID must match a service provider or enterprise external id
role (str): The role of the external user identity.
"""
id: str = field(metadata={"alias": "id"})
organization_id: str = field(metadata={"alias": "organizationId"})
role: str = field(metadata={"alias": "role"})
|