Adding Secrets for AS4 Microservice
Various password credentials are used by the system to connect to various external
components. You must create Kubernetes Secrets for each set of password credentials and
provide the secret names in the respective configuration fields in
values.yaml
file.
Before you begin
You can create Secrets either using the command line or the Platform Catalog UI using the Secret kind template.
Optionally, you can also encrypt your passwords before secret creation. For more information, see Encrypting Passwords.
About this task
- IBM MQ server credentials - User Name - Password
- Database credentials which include - User Name - Password
- WXS credentials - User Name - Password
To create Secrets using the command line, follow the steps below:
Procedure
Kubectl apply - f [template file]
Alternatively, you can also create Secrets using the Platform Catalog UI by copying and pasting the snippets from the sample application Secrets template.
values.yaml
file or
Platform Catalog UI under the setup.cfg
section as:mqSecret
dbSecret
wxsSecret
Results
After successful installation of the Helm charts, the system derives all the required password credentials from the created Kubernetes Secrets.