UpdateVault.xml

 

<?xml version="1.0" encoding="UTF-8"?>

<request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
         xsi:noNamespaceSchemaLocation="PortalConfig_1.4.xsd"
         type="update" 
         create-oids="true">
    
    <!-- 
    Create a new segment containing one slot in the portal credential vault.

    The credentials (userid and password pairs) that are stored in the vault cannot be accessed using xmlaccess

    You can only set the credentials using the administration portlets for the credential vault. 
    -->

    <portal action="locate">

        <credential-segment action="update" 
                    adapter-type="default" 
                    name="CorporateSegment" 
                    user-mapped="false">

            <description>Segment containing credentials for corporate backends</description>

            <credential-slot action="update" 
                             name="CorporateFtpServer" 
                             active="false" 
                             system="true" 
                             resource="none" 
                             secrettype="userid-password">

                <localedata locale="en">
                    <description>Credentials for accessing the Corporate FTP server</description>
                    <keywords>FTP Backend Corporate</keywords>
                </localedata>

            </credential-slot>

        </credential-segment>

    </portal>
</request>