Skip to main content

Configure the DAM connector in Sitecore in a container environment


How to configure a connection between Sitecore and Sitecore DAM in the Sitecore Connect for Content Hub connector in a container environment

When you have installed the Sitecore Connect for Content Hub (SCCH) connector in your Sitecore container environment, either in Docker or in Azure Kubernetes services, you must configure a connection from your Sitecore instance to the Sitecore DAM part of SCCH.

To configure a DAM connection:

  • In the root folder (by default, wwwroot), open the web.config file. Make sure the URL of the Content Hub instance (for example,, other delivery hostnames (for example,, and generated public links (for example, are added as sources to the Content-Security-Policy tag. For example:

    <add name="Content-Security-Policy" value="default-src 'self' 'unsafe-inline' 'unsafe-eval';
        img-src 'self' data;
        style-src 'self' 'unsafe-inline';
        font-src 'self' 'unsafe-inline';
        upgrade-insecure-requests; block-all-mixed-content;
        child-src 'self';
        connect-src 'self';
        media-src;" />


In Content Hub, you can configure different delivery hostnames for public links by using the AssetExtensionDataConfigurationSetting setting.

If you have configured different hostnames, you must add all the hostnames as sources. You do this in the Content-Security-Policy parameter, in the img-src, child-src and connect-src properties.