I have a raspberry pi pico hooked up to an ESP32 and I'm trying to connect it to the AWS IoT Core.
The "things" in AWS IoT make use of certificates, not usernames and passwords as is described in: https://docs.espressif.com/projects/esp-at/en/latest/esp32/AT_Command_Examples/mqtt-at-examples-for-cloud.html#
In these examples they still use a username and password and do not show how to connect using the certificates rather than username and password using AT Commands.
My current command routine:
AT+CWMODE=1
AT+CWJAP="mywifissid","mywifipassword"
AT+CIPSNTPCFG=1,8,"pool.ntp.org"
-???-
AT+MQTTCONN=0,"xxxxxxxx.xxx.xxxx.amazonaws.com",8883,1
The thing is, at -???-, according to the documentation above there should be a line like:
AT+MQTTUSERCFG=0,5,"esp32","espressif","1234567890",0,0,""
Which is according to the following scheme:
AT+MQTTUSERCFG=<LinkID>,<scheme>,<"client_id">,<"username">,<"password">,<cert_key_ID>,<CA_ID>,<"path">
But, the username and password, what are these? I cannot obtain them in the IoT Core and neither do I want to hardcode usernames and passwords. What am I missing here? Is there an AT command routine that works without this username and password?