Security with API: OAuth, token-based access vs key-based access

Let’s consider security with APIs, i.e how to securely identify the caller. There are two authentication methods quite popular in the cloud to secure APIs: Key-based access OAuth, or token-based access in general Let’s compare them. Key-Based By key-based we mean an authentication scheme where we do pass a key to the API request. That … More Security with API: OAuth, token-based access vs key-based access

Azure Functions HTTP – Authorization Levels

In a past article, we looked at Serverless compute in Azure in general and Azure Functions specifically. In this article we wanted to focus on Azure Function triggered by HTTP requests and the different options we have to authenticate: Anonymous Function Admin System User Those are called Authorization Levels.  For each function in a function … More Azure Functions HTTP – Authorization Levels

Virtual Network Service Endpoint – Hello World

In our last post we discussed the new feature Virtual Network Service Endpoint. In this post we’re going to show how to use that feature. We’re going to use it on a storage account. We won’t go through the micro steps of setting up each services but we’ll focus on the Service Endpoint configuration. Resource … More Virtual Network Service Endpoint – Hello World

VNET Service Endpoints for Azure SQL & Storage

It’s finally here, it has arrived:  Azure Virtual Network Service Endpoints. This was a long requested “Enterprise feature”. Let’s look at what this is and how to use it. Please note that at the time of this writing (end-of-September 2017) this feature is available only in a few region in Public Preview: Azure Storage: WestCentralUS, … More VNET Service Endpoints for Azure SQL & Storage

Automating Role Assignment in Subscriptions & Resource Groups

Azure supports a Role Based Access Control (RBAC) system.  This system links identity (users & groups) to roles. RBAC is enforced at the REST API access level, which is the fundamental access in Azure:  it can’t be bypassed. In this article, we’ll look at how we can automate the role assignation procedure. This is useful … More Automating Role Assignment in Subscriptions & Resource Groups

Managing Azure AD Application members in Portal

One of Azure AD’s powerful concept is the application.  It gives context to an authentication as we explained in this article. An application can also be used as an authorization barrier since we can manage an application members.  This is optional as by default, everyone in a tenant has access to its application.  But if … More Managing Azure AD Application members in Portal

Automating Azure AD

In the previous article, we explored how to interact (read / write) to an Azure AD tenant using Microsoft Graph API. In the article before that, we looked at how to authenticate a user without using Azure AD web flow. Those were motivated by a specific scenario:  replacing a LDAP server by Azure AD while … More Automating Azure AD