ContextProvider
¶
Used by
Source code in docs_src/capo_iam/types/context_provider.py
key_definition_list
instance-attribute
¶
key_definition_list: NotRequired[keyDefinitionListType]
A list of source-to-target key mappings that define how keys from the external identity provider's assertion or token are mapped into trusted context keys. You can specify from 0 to 10 mappings.
subject_source_key
instance-attribute
¶
subject_source_key: contextProviderSourceKeyType
The source key that is used to derive the subject for the injected trusted context. This value identifies the claim or attribute in the external identity provider's assertion or token that supplies the subject.
The key can contain only ASCII letters (A-Z, a-z), numbers (0-9), single spaces, and the following characters: _ . : / = + - @ #. It can't start or end with a space or contain two spaces in a row.
subject_type_source_key
instance-attribute
¶
subject_type_source_key: NotRequired[contextProviderSourceKeyType]
The source key that supplies the subject type from the external identity provider's assertion or token.
The key can contain only ASCII letters (A-Z, a-z), numbers (0-9), single spaces, and the following characters: _ . : / = + - @ #. It can't start or end with a space or contain two spaces in a row.
This parameter is mutually exclusive with SubjectTypeValue. Specify either SubjectTypeSourceKey or SubjectTypeValue, but not both.
subject_type_value
instance-attribute
¶
subject_type_value: NotRequired[subjectTypeValueType]
A static value for the subject type, such as user or workload.
This parameter is optional and is mutually exclusive with SubjectTypeSourceKey. Specify either SubjectTypeValue or SubjectTypeSourceKey, but not both.