Skip to content

Commit be63fad

Browse files
koyasu221bWill Huang
andauthored
Add SasToken (#24161)
Co-authored-by: Will Huang <[email protected]>
1 parent 4f4073b commit be63fad

File tree

1 file changed

+9
-0
lines changed
  • specification/maps/data-plane/Search/preview/2022-12-01-preview

1 file changed

+9
-0
lines changed

specification/maps/data-plane/Search/preview/2022-12-01-preview/search.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@
2828
"description": "This is a shared key that is provisioned when creating an [Azure Maps resource](https://aka.ms/amauth) through the Azure management plane via Azure portal, PowerShell, CLI, Azure SDKs, or REST APIs.\n\n With this key, any application is authorized to access all REST APIs. In other words, these can currently be treated as master keys to the account which they are issued for.\n\n For publicly exposed applications, our recommendation is to use server-to-server access of Azure Maps REST APIs where this key can be securely stored.",
2929
"name": "subscription-key",
3030
"in": "header"
31+
},
32+
"SasToken": {
33+
"type": "apiKey",
34+
"description": "This is a shared access signature token is created from the List SAS operation on the [Azure Maps resource](https://aka.ms/amauth) through the Azure management plane via Azure portal, PowerShell, CLI, Azure SDKs, or REST APIs.\n\n 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. In other words, the SAS Token can be used to allow applications to control access in a more secured way than the shared key.\n\n For publicly exposed applications, our recommendation is to configure a specific list of allowed origins on the [Map account resource](https://aka.ms/amauth) to limit rendering abuse and regularly renew the SAS Token.",
35+
"name": "SAS Token",
36+
"in": "header"
3137
}
3238
},
3339
"security": [
@@ -38,6 +44,9 @@
3844
},
3945
{
4046
"AzureKey": []
47+
},
48+
{
49+
"SasToken": []
4150
}
4251
],
4352
"responses": {},

0 commit comments

Comments
 (0)