...
Each encrypted credentials file has a region designation, which is the Oracle SID of the environment. If the credentials file is copied to a different environment, it will fail fails to work.
There is a SOAP endpoint provided to save encrypted credentials. An example RTR to save the credentials is provided below:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<EagleML xmlns="http://www.eagleinvsys.com/2011/EagleML-2-0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="RunTaskRequest" eaglemlVersion="2-0" xsi:schemaLocation="http://www.eagleinvsys.com/2011/EagleML-2-0 eagleml-main-2-0.xsd" eaglemlType="RunTaskRequest"> <header> <messageId>B70DHO72GCLFRHGI</messageId> <sentBy>http://www.eagleinvsys.com</sentBy> <sendTo>http://www.eagleinvsys.com/eagle_default_ruleservice</sendTo> </header> <taskIdentifier> <correlationId>MLPERFSFTPCRED_{GUID}</correlationId> <businessTaskId>BB0573A416C18678</businessTaskId> </taskIdentifier> <taskTypeEnum>NEW</taskTypeEnum> <synchronousExecution>yes</synchronousExecution> <taskParameters> <taskParameter> <name>ActionType</name> <value>EXECUTE</value> </taskParameter> <taskParameter> <name>REST</name> <value>POST /eagle/v2/configurations/clientcredentials/sftpcredentials</value> </taskParameter> <taskParameter> <name>rest_body</name> <value>{ "user_id": "eagle", "password": "eagle1234", "passphrase": "test123" }</value> </taskParameter> </taskParameters> </EagleML> |
The above RTR will create creates a credentials configuration which may be referred with the "credentials": "clientcredentials/sftpcrendentials" element in the distribution profile file.
...
- "armor" - the armor for GPG - please refer to GPG documentation for description.
- "credentials"/"client_id" - the recipient, for which we should have a certificate imported in GPG.
Include Sink Definitions
In the Distribution Profile, you can include other sink definitions and redefine their parameters. For example, if the file is named "test_sinks.json" in the eagle/estar/tpe/dynamic/metadata/distributions/ path with the following content:
...