<archetype xmlns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3"
           xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:org="http://midpoint.evolveum.com/xml/ns/public/common/org-3"
           xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:ri="http://midpoint.evolveum.com/xml/ns/public/resource/instance-3"
           xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           oid="00000000-0000-0001-0702-000000000200">
    <name>Managed service account</name>
    <description>ToDo</description>
    <assignment>
        <activation>
            <effectiveStatus>enabled</effectiveStatus>
        </activation>
        <assignmentRelation>
            <holderType>UserType</holderType>
        </assignmentRelation>
    </assignment>
    <activation>
        <effectiveStatus>enabled</effectiveStatus>
    </activation>
    <inducement>
        <construction>
            <strength>strong</strength>
            <!--<resourceRef oid="75c197a9-1071-4ac8-b8c0-414b1c8eb4f1" relation="org:default" type="c:ResourceType"/>-->
            <resourceRef relation="org:default" type="c:ResourceType">
                <filter>
                    <q:text>name = "AD first steps"</q:text>
                </filter>
            </resourceRef>
            <kind>account</kind>
            <intent>msa</intent>
        </construction>
    </inducement>
    <archetypePolicy>
        <display>
            <label>Managed service account</label>
            <pluralLabel>Managed service accounts</pluralLabel>
            <icon>
                <cssClass>fas fa-user-cog</cssClass>
                <color>red</color>
            </icon>
        </display>
        <assignmentHolderRelationApproach>open</assignmentHolderRelationApproach>
    </archetypePolicy>
</archetype>
