03 Launch Library Hosting and Adaptors | BCS 03 Launch Library Hosting and Adaptors | BCSBCS

03 Launch Library Hosting and Adaptors

Adobe Launch Haran Huang 4 years ago (2019-11-28) 1125 Views 0 Comments

Table of Contents

Click the corresponding Property to enter Launch, the interface is as follows:

03 Launch Library Hosting and Adaptors




In this section we mainly talk about Hosts, previously called Adaptors. Hosts define available destinations where the builds can be delivered. Where the library base is loaded from. They come in two types:

  • Managed by Adobe
  • SFTP

Managed by Adobe

This host type is the default selection and is simplest to manage. Is the official CDN of Akamai, loaded from assets.adobedtm.com. Which is our most commonly used method.

Launch has Akamai by default:

03 Launch Library Hosting and Adaptors

You don’t need to do other settings.


If you do not want to have Adobe manage your hosted libraries, your other option is to have Launch deliver builds to a secured SFTP server that you host.

That is, the tracking code is loaded from your own server. This method is not the default, we need to do some settings:

Click “New Host”:

03 Launch Library Hosting and Adaptors

Then you will see an interface to create the host:

03 Launch Library Hosting and Adaptors

  • Name, custom host name, usually using the domain name
  • Type: There are two options, “Manager by Adobe” and “SFTP”, we choose SFTP. After selecting SFTP, some new setting options will pop up below:

03 Launch Library Hosting and Adaptors

  • Host — The externally accessible hostname or IP address of the SFTP server. Set this to bbccss.com.
  • Path — The location relative to the launch sftp user’s root directory where Launch will deliver files. Set this to launch.
  • Port — The port of the SFTP server. Typically this is 22.
  • Username — The username of the SFTP user. Set this to launch.
  • Encrypted Private Key — The encrypted version of the private key from the pair whose public key was added to the launchuser’s

These need to be configured on the server. First log in to the server and go to the root directory.

Use the following code to create a folder, this file is the path to be filled in above, and is the place to put the launch tracking code.

mkdir launch

Add a user to this path, this is the SFTP User Name:

sudo useradd -d /home/wwwroot/default/launch -m launch

Test if the ID works:

id launch && ls -l /home/wwwroot/default/launch


The last step is to generate the Encrypted Private Key,

The Launch platform achieves this by utilizing GPG encryption and decryption. Using GPG, So we need to download, you can use the following code or visit https://developer.adobelaunch.com/api/guides/encrypting_values/ to get it.

wget https://developer.adobelaunch.com/files/[email protected]_pub.gpg

Import the key:

gpg --import [email protected]_pub.gpg

Encrypt values

echo -n 'Example value' | gpg --armor --encrypt -r "Adobe Launch Data Encryption <[email protected]>"

Breaking down this command:

  • Input is supplied to the gpg command.
  • --armor creates ASCII-armored output instead of binary. This simplifies transferring the value through JSON.
  • --encrypt instructs GPG to encrypt the data.
  • -r sets the recipient for the data. Only the recipient, the holder of the private key that corresponds to the public key, may decrypt the data. The recipient name of the desired key may be found by examining the output of gpg --list-keys.

Then a secret key will appear, copied to the Encrypted Private Key

03 Launch Library Hosting and Adaptors



If you don't understand, You can leave a comment below.
Like (0)
Post my comment
Cancel comment
Expression Texture Bold Strikethrough Center Italic Sign in

Hi, you need to fill in your nickname and email!

  • Nickname (required)
  • Email (required)
  • Website