Cloud Vendor | Microsoft Azure |
Proficiency Level | Cloud Enthusiast |
Tags | APIAuthenticationcURLOAuthREST |
Summary
This article describes how to use cURL to obtain an OAuth Authentication Token that can be used to access Azure REST APIs. The obtained OAuth Authentication Token can be used to manually construct HTTP requests to the Azure REST APIs or use it from other tools like Postman to explore the APIs’ functionality. Understanding the low-level details of the OAuth flow for Azure allows developers to properly implement and secure their use of the Azure REST APIs.
Prerequisites
To authenticate with Azure REST API using the instructions below, you will need the following information:
- Microsoft Azure Tenant ID
- Microsoft Azure Service Principal ID
- Microsoft Azure Service Principal Secret
Solution
Related Information
Last Update: September 12, 2019