-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.ini
46 lines (39 loc) · 1.89 KB
/
config.ini
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
34
35
36
37
38
39
40
41
42
43
44
45
46
[SETTINGS]
ACCEPT_HEADER = application/vnd.aws-cdf-v1.0+json
CONTENT_TYPE = application/vnd.aws-cdf-v1.0+json
# Topic to publish messages, different payload_strategies may need different templates using local vars
TOPIC_NAME = dt/cvra/{deviceid}/cardata
TRIP_TOPIC_NAME = dt/cvra/{deviceid}/trip
DTC_TOPIC_NAME = dt/cvra/{deviceid}/dtc
# throttle of messages per second
MESSAGE_PUBLISH_RATE = 10.0
# what to do at the end of the file... 'stop' or 'repeat'
AT_END = 'stop'
#might as well keep this static
DEVICE_MAKER = GenericSupplierName
#provisioning template details to create the ability to automatically associate certificates to things
PROVISIONING_TEMPLATE_NAME = CMSFleetProvisioningTemplate
PROVISIONING_TEMPLATE_DESCRIPTION = 'Fleet Provisioning Template to be used with the CMS Framework'
CMS_DEFAULT_POLICY_NAME = CvraTcuDevicePolicy
DEFAULT_ROLE_NAME = IotCMSRole
POLICY_ARN_IOT = arn:aws:iam::aws:policy/service-role/AWSIoTThingsRegistration
POLICY_JSON = bootstrapCertificatePolicy.json
TEMPLATE_JSON = provisioningTemplatePolicy.json
TEMPLATE_CSR_JSON = provisioningTemplatePolicyCSR.json
PROVISIONING_POLICY_NAME = fleetProvisioningPolicy
# Set the path to the location containing your certificates (root, private, claim certificate)
SECURE_CERT_PATH = certs/{unique_id}
ROOT_CERT_PATH = certs
# Specify the names for the root cert, provisioning claim cert, and the private key.
ROOT_CERT = root.ca.pem
CLAIM_CERT = bootstrap-certificate.pem.crt
SECURE_KEY = bootstrap-private.pem.key
IOT_ENDPOINT = a3m15yqfy6j3pe-ats.iot.us-west-2.amazonaws.com
PROD_CERT = production-certificate.pem.crt
PROD_KEY = production-private.pem.key
CERT_ROTATION_TEMPLATE = cert_rotation
CSV_LOCATION = assets/latLong2.csv
PAYLOAD_LOCATION = assets/payload.json
TRIP_PAYLOAD_LOCATION = assets/tripsPayload.json
DTC_PAYLOAD_LOCATION = assets/dtcPayload.json
AWS_ROOT_CERT_URL = https://www.amazontrust.com/repository/AmazonRootCA1.pem