Software AG Products 10.5 | Configuring API Gateway | API Gateway Data Store | Securing Communication with API Gateway Data Store | Configuring the API Gateway Data Store Truststore using Template
 
Configuring the API Gateway Data Store Truststore using Template
You can configure the Data Store Truststore using the following Command Central template:
sagcc exec templates composite import -i truststores.yaml

sagcc exec templates composite apply sag-apigw-datastore-truststore nodes=local
truststore.location=location_of_truststore
truststore.password=password
Sample Truststores configuration template:
alias: sag-apigw-datastore-truststore
description: API Gateway Data Store Truststore Configuration

layers:
runtime:
templates:
- apigw-datastore-truststore

templates:
apigw-datastore-truststore:
products:
CEL:
default:
configuration:
CEL:
COMMON-TRUSTSTORES:
COMMON-TRUSTSTORES-default:
Truststore:
'@alias': DEFAULT_TRUSTSTORE
Description: This is a truststore for the Search Guard plugin
Type: JKS
Location: ${truststore.location}
Password: ${truststore.password}



provision:
default:
runtime: ${nodes}