Skip to content

ContextProviderKeyDefinition

Source code in docs_src/capo_iam/types/context_provider_key_definition.py
class ContextProviderKeyDefinition(TypedDict, closed=True):
    source_key: (
        "capo_iam.types.context_provider_source_key_type.contextProviderSourceKeyType"
    )
    """<p>The key in the external identity provider's assertion or token to read the value from.</p> <p>The key can contain only ASCII letters (A-Z, a-z), numbers (0-9), single spaces, and the following characters: <code>_ . : / = + - @ #</code>. It can't start or end with a space or contain two spaces in a row.</p>"""
    target_key: NotRequired[
        "capo_iam.types.context_provider_target_key_type.contextProviderTargetKeyType"
    ]
    """<p>The trusted context key to map the source value into.</p> <p>The key can contain only ASCII letters (A-Z, a-z), numbers (0-9), single spaces, and the following characters: <code>_ . : / = + - @ #</code>. It can't start or end with a space or contain two spaces in a row.</p>"""

source_key instance-attribute

The key in the external identity provider's assertion or token to read the value from.

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.

target_key instance-attribute

target_key: NotRequired[contextProviderTargetKeyType]

The trusted context key to map the source value into.

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.