Selecting ActiveMatrix BusinessWorks Secrets in Generate Application EAR and Push to Cloud Operations

 

While generating Create Application Archive(EAR) and Push to Cloud you are able to select the secret if you want the secret in your application.

The steps to select the secret name while generating EAR and Push to Cloud is as follows:

In TIBCO Business Studio for BusinessWorks, connect to ActiveMatrix BusinessWorks environment using SSO Login.

Generating EAR for the application.

Procedure:

  1. Select Create Enterprise Archive (EAR) , Create Application Archive(EAR) dialog is displayed.

  2. You see a new checkbox Use secrets from TIBCO Cloud Integration, which is only for TIBCO Cloud Deployment Target.

    Click the checkbox, you see the secrets available in the ActiveMatrix BusinessWorks environment to which you are connected.

  3. Select secrets.

  4. Click Finish, then the EAR and manifest.json file will be created.

    You get a message if there are no secrets available for your subscription.

    If you are not connected to ActiveMatrix BusinessWorks SSO Login you will not be able to see any secrets. You get a message “Unable to fetch the secrets, Please login using SSO and try again”.

Push the application to Cloud

The Push To Cloud flow involves Creating Application EAR and then uploading that application to the ActiveMatrix BusinessWorks environment.

Procedure:

  1. Right-click to Select Push to Cloud, New dialog prompts.

    Since it involves creating EAR, you have to select the secrets if required.

  2. Select secrets,

    If you do not want to Select any secret, click Skip, then the application is pushed to the cloud without any secret.

  3. Click Okay.

    Now the application has secret information and the application will be pushed to the cloud. In Push To Cloud, you will not get the EAR and manifest.json file as it directly gets uploaded to the ActiveMatrix BusinessWorks environment.

    When you select the secret, the application deployed to ActiveMatrix BusinessWorks has that selected secret.

    You get a message if there are no secrets available for your subscription.

    If you are not connected to ActiveMatrix BusinessWorks SSO Login you get an error prompt as Unauthorized when you click Push To Cloud.

Note: The secrets are mounted at /tmp/secrets/<secretname>/<secret-file-name> path in TIBCO Business Studio for BusinessWorks an application running in ActiveMatrix BusinessWorks. So you need to mention the same path while configuring secret files in the TIBCO Business Studio for BusinessWorks application.