GithubHelp home page GithubHelp logo

where is config.json about aws-iot-device-sdk-js HOT 2 CLOSED

aws avatar aws commented on July 20, 2024
where is config.json

from aws-iot-device-sdk-js.

Comments (2)

gkwicker avatar gkwicker commented on July 20, 2024

Hi Mona,

The config.json file is optional, you don't have to use it if you don't want to. In the AWS IoT console, if you select a thing and then click the 'Connect a device' button, you'll be guided through a workflow to create the device's identity and configuration information to connect one of the SDKs. For the Node.js SDK, the configuration information is represented as a config.json file, with a format like this:

{
    "host": <Your endpoint>,
    "port": 8883,
    "clientId": <Your client ID>,
    "thingName": <Your thing name>,
    "caCert": <Your root CA certificate filename>,
    "clientCert": <Your client certificate filename>,
    "privateKey":  <Your private key filename>
}

The console generates this for you, or you can create your own using the above template. You also have the option of not using a config.json file and just specifying the options directly using command line parameters. Let us know if that answers your question, and thanks for using AWS IoT.

from aws-iot-device-sdk-js.

gkwicker avatar gkwicker commented on July 20, 2024

Hi @lamiastella. We haven't heard back from you on this issue, so we're going to go ahead and close it. Feel free to re-open it if you have further questions on this topic, and thanks for using AWS IoT.

from aws-iot-device-sdk-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.