diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index f9d5ddc37f8bd31359b8e787fbbded8243ebb301..2167e55579e36cf11ffa50d943cef6e8f1636098 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -15,12 +15,16 @@ spring.jackson.time-zone = UTC app.jwtSecret = JWTSuperSecretKey app.jwtExpirationInMs = 604800000 -## AWS Properties +## aws Properties cloud.aws.credentials.accessKey = AKIAIU4RE7WTMIORTNJA cloud.aws.credentials.secretKey = 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 cloud.aws.credentials.instanceProfile = true cloud.aws.credentials.useDefaultAwsCredentialsChain = true cloud.aws.region.static = eu-west-1 - - +# aws iot properties +ixortalk.client.aws.endpoint = a2atwjvz13hwor-ats.iot.eu-west-1.amazonaws.com +ixortalk.client.aws.client-id = ixortalk-iot-client-${random.int} +ixortalk.client.aws.default-topic = sdk/test/java +ixortalk.client.aws.certificate-file = /Users/Luke/Desktop/Repositories/glowhouse-workspace/glowhouse-backend/glowhouse/src/main/resources/aws/cert.crt +ixortalk.client.aws.private-0key-file = /Users/Luke/Desktop/Repositories/glowhouse-workspace/glowhouse-backend/glowhouse/src/main/resources/aws/private.key diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000000000000000000000000000000000000..7b1004e6e2013fc3e86a7cdbfc203146ea7cfdeb --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,9 @@ +ixortalk: + iot: + client: + aws: + endpoint: "a2atwjvz13hwor-ats.iot.eu-west-1.amazonaws.com" + client-id: ixortalk-iot-client-${random.int} + default-topic: sdk/test/java + certificate-file: "/Users/Luke/Desktop/Repositories/glowhouse-workspace/glowhouse-backend/glowhouse/src/main/resources/aws/cert.crt" + private-key-file: "/Users/Luke/Desktop/Repositories/glowhouse-workspace/glowhouse-backend/glowhouse/src/main/resources/aws/private.key" \ No newline at end of file