Configure application secrets for any custom application
Custom applications might require extra passwords to connect to various back-end applications. The passwords must be added to a Red Hat® OpenShift® secret before you deploy FTM.
More application secrets can be configured for FTM in its custom resource. The
tasks that you need to do to configure custom application secrets for FTM are shown in
the following list.
- Before you deploy FTM, add the passwords for your custom application to a Red Hat OpenShift secret.
- When you deploy FTM, add the list of extra passwords to the FTM custom resource. Use the spec.config.security.additionalApplicationPasswords custom resource parameter to configure the passwords and secrets that contain them.
The section of the custom resource that can be used to add these custom application passwords when you
deploy FTM is shown in the following example. In this sample YAML, the passwords were
added to the
ftm-custom-application-secret
Red Hat OpenShift secret.additionalApplicationPasswords:
- name: SA_PRI_CD_REMOTE_PASSWORD
value:
valueFrom:
secretKeyRef:
name: ftm-custom-application-secret
key: SA_PRI_CD_REMOTE_PASSWORD
- name: SA_PRI_CD_REMOTE_USER
value:
valueFrom:
secretKeyRef:
name: ftm-custom-application-secret
key: SA_PRI_CD_REMOTE_USER