-
Notifications
You must be signed in to change notification settings - Fork 14
/
MoquiConf.xml
33 lines (30 loc) · 2.03 KB
/
MoquiConf.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8" ?>
<!-- No copyright or license for configuration file, details here are not considered a creative work. -->
<moqui-conf xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://moqui.org/xsd/moqui-conf-3.xsd">
<!-- set these in System env vars or in a Moqui Conf XML file like this -->
<!-- https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/setup-credentials.html -->
<!-- https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html -->
<!-- https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/java-dg-region-selection.html -->
<!-- NOTE: moqui makes these available as Java system properties, from here or from env vars;
AWS SDK looks at different keys for Java sys props but S3ClientToolFactory looks at these keys, the env var keys -->
<default-property name="AWS_REGION" value=""/>
<default-property name="AWS_ACCESS_KEY_ID" value=""/>
<default-property name="AWS_SECRET_ACCESS_KEY" value=""/>
<!-- Support non standard s3 service, for example Minio -->
<default-property name="AWS_ENDPOINT_URL" value=""/>
<!-- these must be used in pairs, if alias used in a aws3://{bucket}/... then is replaced with name -->
<!-- only 3 sets here by default, code looks for 1-9 -->
<default-property name="aws_s3_bucket_alias1" value=""/>
<default-property name="aws_s3_bucket_name1" value=""/>
<default-property name="aws_s3_bucket_alias2" value=""/>
<default-property name="aws_s3_bucket_name2" value=""/>
<default-property name="aws_s3_bucket_alias3" value=""/>
<default-property name="aws_s3_bucket_name3" value=""/>
<tools>
<tool-factory class="org.moqui.aws.S3ClientToolFactory" init-priority="40" disabled="false"/>
<tool-factory class="org.moqui.aws.SnsClientToolFactory" init-priority="40" disabled="false"/>
</tools>
<resource-facade>
<resource-reference scheme="aws3" class="org.moqui.aws.S3ResourceReference"/>
</resource-facade>
</moqui-conf>