
In other words, the SAS Token can be used to allow applications to control access in a more secured way than the shared key.įor publicly exposed applications, our recommendation is to configure a specific list of allowed origins on the Map account resource to limit rendering abuse and regularly renew the SAS Token.Įxamples Search detail address 15127 NE 24th Street, Redmond, WA 98052 With this token, any application is authorized to access with Azure role-based access controls and fine-grain control to the expiration, rate, and region(s) of use for the particular token. This is a shared access signature token is created from the List SAS operation on the Azure Maps resource through the Azure management plane via Azure portal, PowerShell, CLI, Azure SDKs, or REST APIs. In other words, this key can be used as a master key in the account that they are issued in.įor publicly exposed applications, our recommendation is to use the confidential client applications approach to access Azure Maps REST APIs so your key can be securely stored. With this key, any application can access all REST API. This is a shared key that is provisioned when you Create an Azure Maps account in the Azure portal or using PowerShell, CLI, Azure SDKs, or REST API.

Currently, Azure Active Directory v1.0 or v2.0 supports Work, School, and Guests but does not support Personal accounts.Usage of the Azure Maps Web SDK allows for configuration based setup of an application for multiple use cases. The Azure role-based access control is configured from the Azure management plane via Azure portal, PowerShell, CLI, Azure SDKs, or REST APIs.

Sovereign clouds have unique Authorization URLs and Azure Active directory configurations. The Authorization URL is specific to the Azure public cloud instance. This can be acquired from the Maps management API.

It represents a unique ID for the Azure Maps account and can be retrieved from the Azure Maps management plane Account API. Specifies which account is intended for usage in conjunction with the Azure AD security model. Please refer to Supported Views for details and to see the available Views. The View parameter in Azure Maps must be used in compliance with applicable laws, including those regarding mapping, of the country where maps, images and other data and third party content that you are authorized to access via Azure Maps is made available. Alternatively, you have the option to set ‘View=Auto’, which will return the map data based on the IP address of the request. It is your responsibility to determine the location of your users, and then set the View parameter correctly for that location. By default, the View parameter is set to “Unified” even if you haven’t defined it in the request. Different countries have different views of such regions, and the View parameter allows your application to comply with the view required by the country your application will be serving. The View parameter (also called the "user region" parameter) allows you to show the correct maps for a certain country/region for geopolitically disputed regions.
