Hi All,
I am using .key and .cert files to communicate with the backend services, what is the best way to externalize the .key and .cert files[as the files are different in each environment]?
Regards,
Ravi.
Hi Ravi Kumar
Normally a key and cert is used for a HTTPTargetConnection; it is used in the SSLInfo section of the configuration. If this is the case, then you can use TargetServers to satisfy your needs. Read about that here.
But, if you need some data that is not specific to the HTTP connection to the backend, you can use the Key-Value Store. Within Apigee Edge, there is a Key-Value store that stores simple string values index by simple string keys. For example you can lookup "backend-url" and get "http://foo/bar/bam". The KVM allows you to store data that are specific to environments or backend systems. See the documentation here.
To use it,
In summary, for settings on target servers, you can use the TargetServer artifact. For other settings, you can use the KVM Store.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |