Need some help with Tuya API that requires signature authentication

In the opening post is a howto to connect the Tuya Cloud app with the Tuya iot API