Skip to content

Commit 767339b

Browse files
committed
Update settings.toml help text
1 parent 1a887f0 commit 767339b

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

examples/aws_iot_native_networking.py

+11-10
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@
99
import adafruit_minimqtt.adafruit_minimqtt as MQTT
1010
from adafruit_aws_iot import MQTT_CLIENT
1111

12-
# Add a settings.toml to your filesystem. DO NOT share that
13-
# file or commit it into Git or other source control. The file dictionary should have the
14-
# following settings:
15-
# CIRCUITPY_WIFI_SSID - Your WiFi ssid
16-
# CIRCUITPY_WIFI_PASSWORD - Your WiFi password
17-
# device_cert_path - Path to the Device Certificate from AWS IoT ("<THING_NAME>.cert.pem")
18-
# device_key_path - Path to the RSA Private Key from AWS IoT ("<THING_NAME>.private.key")
19-
# broker - The endpoint for the AWS IoT broker ("<PREFIX>.iot.<REGION>.amazonaws.com")
20-
# client_id - The client id. Your device's Policy needs to allow this client ("basicPubSub")
21-
#
12+
# Add a settings.toml to your filesystem. DO NOT share that file or commit it into
13+
# Git or other source control. The file should have the following settings:
14+
"""
15+
CIRCUITPY_WIFI_SSID="Your WiFi ssid"
16+
CIRCUITPY_WIFI_PASSWORD="Your WiFi password"
17+
device_cert_path="<THING_NAME>.cert.pem" # Path to the Device Certificate from AWS IoT
18+
device_key_path="<THING_NAME>.private.key" # Path to the RSA Private Key from AWS IoT
19+
broker="<PREFIX>.iot.<REGION>.amazonaws.com" # The endpoint for the AWS IoT broker
20+
client_id="client_id" # The client id. Your device's Policy needs to allow this client
21+
"""
22+
2223
# Get WiFi details and AWS keys, ensure these are setup in settings.toml
2324
ssid = getenv("CIRCUITPY_WIFI_SSID")
2425
password = getenv("CIRCUITPY_WIFI_PASSWORD")

0 commit comments

Comments
 (0)