Skip to main content Skip to complementary content

Configuring secured authentication in Talend Runtime for Artifact repository connection

You need to configure a secured authentication in Talend Runtime for the connection to Talend Artifact Repository, as the credentials of the bearer token or user/password configuration is sent to Talend Runtime to deploy or undeploy ESB features.

Procedure

  1. In Talend Administration Center, set the parameter conf.send.artifact.repo.creds.for.esb.deployments to false in the configuration.properties file and restart Talend Administration Center.
    false value is recommended for security reasons.
  2. In Talend Runtime, specify the server configuration IDs talend.snapshot and talend.release in the Maven settings.xml file.
  3. In Talend Runtime, set these IDs (@id=talend.snapshot and @id=talend.release) in the org.ops4j.pax.url.mvn.repositories part of the /container/etc/org.ops4j.pax.url.mvn.cfg file.
    Example for basic authentication:
    <server>
        <id>talend.snapshot</id>
       <username>admin</username>
       <password>your-password</password>
    </server>
    Example for bearer token:
    <server>
        <id>talend.snapshot</id>
        <configuration>
    	    <httpHeaders>
    		    <httpHeader>
    			    <name>Authorization</name>
                    <value>Bearer-value</value>
    		    </httpHeader>
    	    </httpHeaders>
        </configuration>
    </server>
    Information noteNote:

    Deployment with JFrog Artifactory works only with the configuration of bearer token or user/password in Talend Runtime.

    Even if conf.send.artifact.repo.creds.for.esb.deployments is set to true or false, this configuration plays any role in the deployment. In both cases, credentials is taken from the Talend Runtime configuration.

  4. Save your changes.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!