A partir do sgcWebSockets 4.4.3, o Amazon AWS IoT client suporta Signature V4 Autenticação, isso significa that you don't precisa use um certificate para autenticar against AWS MQTT Server.
Signature V4 pode ser used para MQTT over WebSockets e port 443.
Configuração
Primeiro você deve create um novo user em your AWS console e assign privileges para IoT devices. If o process ends successfully you will get um Access e Secret Key, save this because você vai need later.
In TsgcIoTAmazon_MQTT_Client there is um novo property chamado SignatureV4, você deve enable it e set como chaves provided por AWS e o region.
oIoT := TsgcIoTAmazon_MQTT_Client.Create(nil); oIoT.SignatureV4.Enabled := True; oIoT.SignatureV4.Region := 'us-east-1'; oIoT.SignatureV4.AccesKey := 'your access key here'; oIoT.SignatureV4.SecretKey := 'your secret key here'; oIoT.Host := 'amazon end point here' oIoT.Port := 443; oIoT.Active := True;

