Reader small image

You're reading from  Arduino IoT Cloud for Developers

Product typeBook
Published inNov 2023
PublisherPackt
ISBN-139781837637171
Edition1st Edition
Right arrow
Author (1)
Muhammad Afzal
Muhammad Afzal
author image
Muhammad Afzal

Muhammad Afzal is a senior software engineer, with more than 14 years of experience working on web-based and IoT systems in multinational organizations. He always enjoys working and solving real-world business problems with technology. He provides freelance services to IoT-based product companies to write technical reviews and projects, and he also provides consultancy to organizations. In his free time, Muhammad creates videos and courses for YouTube and Udemy. He also runs a maker movement in his region for young students to boost their interest in adopting the latest technologies.
Read more about Muhammad Afzal

Right arrow

Securing access – unveiling API keys and authentication

Before getting into the meat of the chapter, we first need to talk about the authentication mechanism of the platform. The Arduino IoT Cloud uses a token authentication mechanism to validate Arduino Cloud CLI requests.

Before we start to install and test the Arduino Cloud CLI, we need to set up the API keys in Arduino Cloud that will provide us with the client ID and secret. In older versions of the interface, the API options were under the Integrations tab, but they have now moved to Arduino Cloud, which is available at https://cloud.arduino.cc/home/.

After visiting the Integration page, click on API Keys, and then you will be taken to the API page. Click on CREATE API KEY. A popup will appear; provide a name for the API, and click on the CONTINUE button. The wizard that appears will take a few seconds to generate the keys, and then a new popup will appear displaying the keys, as shown in Figure 13.1.

...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Arduino IoT Cloud for Developers
Published in: Nov 2023Publisher: PacktISBN-13: 9781837637171

Author (1)

author image
Muhammad Afzal

Muhammad Afzal is a senior software engineer, with more than 14 years of experience working on web-based and IoT systems in multinational organizations. He always enjoys working and solving real-world business problems with technology. He provides freelance services to IoT-based product companies to write technical reviews and projects, and he also provides consultancy to organizations. In his free time, Muhammad creates videos and courses for YouTube and Udemy. He also runs a maker movement in his region for young students to boost their interest in adopting the latest technologies.
Read more about Muhammad Afzal