<blueprint
    xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:cm="http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0"
    xmlns:ext="http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.1.0"
    xmlns:cb="http://camel.apache.org/schema/blueprint"
    xsi:schemaLocation="
        http://www.osgi.org/xmlns/blueprint/v1.0.0 
        http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd

        http://aries.apache.org/blueprint/xmlns/blueprint-cm/v1.1.0
        http://aries.apache.org/schemas/blueprint-cm/blueprint-cm-1.1.0.xsd

        http://aries.apache.org/blueprint/xmlns/blueprint-ext/v1.1.0
        http://aries.apache.org/schemas/blueprint-ext/blueprint-ext-1.1.xsd
">

    <!-- Used for sytem properties -->
    <ext:property-placeholder placeholder-prefix="$[" placeholder-suffix="]" />
    <cm:property-placeholder id="scvProperties" persistent-id="org.opennms.features.scv" placeholder-prefix="[[" placeholder-suffix="]]" update-strategy="none">
        <cm:default-properties>
            <cm:property name="key" value="QqSezYvBtk2gzrdpggMHvt5fJGWCdkRw"/>
        </cm:default-properties>
    </cm:property-placeholder>

    <bean id="jceksSecureCredentialsVault" class="org.opennms.features.scv.jceks.JCEKSSecureCredentialsVault">
        <argument value="$[karaf.etc]$[file.separator]scv.jce"/>
        <argument value="[[key]]"/>
    </bean>

    <service ref="jceksSecureCredentialsVault" interface="org.opennms.features.scv.api.SecureCredentialsVault">
        <service-properties>
            <entry key="type" value="jceks"/>
        </service-properties>
    </service>
</blueprint>
