Skip to content

TipConfiguration

Source code in docs_src/capo_rolesanywhere/types/tip_configuration.py
class TipConfiguration(TypedDict, closed=True):
    status: "capo_rolesanywhere.types.tip_status.TipStatus"
    """<p>Specifies whether you use trusted identity propagation (TIP) for the profile. This field supports the following values:</p> <ul> <li> <p> <code>ENABLED</code> – Sessions from the profile include the <code>aws:OriginIdentity</code> condition keys.</p> </li> <li> <p> <code>DISABLED</code> – Sessions from the profile don't include these keys.</p> </li> </ul>"""
    subject_type: NotRequired[
        "capo_rolesanywhere.types.tip_subject_type.TipSubjectType"
    ]
    """<p>Specifies whether the certificates for the profile identify workloads or people. This field supports the following values:</p> <ul> <li> <p> <code>workload</code> – The certificates identify workloads.</p> </li> <li> <p> <code>user</code> – The certificates identify people.</p> </li> </ul> <p>Sessions include the value in <code>aws:OriginIdentity/SubjectType</code>. If you omit this field, sessions don't include that key.</p>"""
    subject_source: NotRequired[
        "capo_rolesanywhere.types.tip_subject_source.TipSubjectSource"
    ]
    """<p>The certificate field whose value becomes the subject, <code>aws:OriginIdentity/Subject</code>. This field supports the following values:</p> <ul> <li> <p> <code>x509Subject/CN</code> (default) – The common name (CN) in the certificate's Subject.</p> </li> <li> <p> <code>x509SAN/URI</code> – The first URI in the certificate's Subject Alternative Name (SAN) extension.</p> </li> </ul> <p>The profile's attribute mappings must include a rule for this field, and the default attribute mappings include one for each value. If the certificate has no value for the field, <code>CreateSession</code> denies the request.</p>"""

status instance-attribute

status: TipStatus

Specifies whether you use trusted identity propagation (TIP) for the profile. This field supports the following values:

  • ENABLED – Sessions from the profile include the aws:OriginIdentity condition keys.

  • DISABLED – Sessions from the profile don't include these keys.

subject_source instance-attribute

subject_source: NotRequired[TipSubjectSource]

The certificate field whose value becomes the subject, aws:OriginIdentity/Subject. This field supports the following values:

  • x509Subject/CN (default) – The common name (CN) in the certificate's Subject.

  • x509SAN/URI – The first URI in the certificate's Subject Alternative Name (SAN) extension.

The profile's attribute mappings must include a rule for this field, and the default attribute mappings include one for each value. If the certificate has no value for the field, CreateSession denies the request.

subject_type instance-attribute

subject_type: NotRequired[TipSubjectType]

Specifies whether the certificates for the profile identify workloads or people. This field supports the following values:

  • workload – The certificates identify workloads.

  • user – The certificates identify people.

Sessions include the value in aws:OriginIdentity/SubjectType. If you omit this field, sessions don't include that key.