Getting data in base64 encoded format from IoT Hub to Blob Storage and want decrypted format in storage

Vikas Singh 145 Reputation points
2023-10-17T10:23:34.4566667+00:00

Created IoT hub and added message routing and pointed to blob storage and getting data into blob storage container in base64 encoded format under body section.

So, how we can decrypt the blob storage data.

Azure IoT Hub
Azure IoT Hub
An Azure service that enables bidirectional communication between internet of things (IoT) devices and applications.
1,272 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sander van de Velde | MVP 36,761 Reputation points MVP Volunteer Moderator
    2023-10-17T10:32:10.9566667+00:00

    Hello @Vikas Singh,

    the message bodies are base64 encoded, not encrypted.

    Any programming language has tooling to transform the messages into a readable format using Bas64 decoding.

    Just take the body and paste it into this decode site.

    When messages flow into other Azure services, the messages are normally made visible already (eg. Azure Stream Analytics, Azure Data Explorer).


    If the response helped, do "Accept Answer". If it doesn't work, please let us know the progress. All community members with similar issues will benefit by doing so. Your contribution is highly appreciated.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.