Skip to content

Commit 13e576a

Browse files
author
Jill Grant
authored
Merge pull request #292740 from ecfan/issues
[SFI-ROPC] Add security guidance for custom APIs
2 parents a923f1a + cc94276 commit 13e576a

File tree

3 files changed

+32
-28
lines changed

3 files changed

+32
-28
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
ms.service: azure-logic-apps
3+
author: ecfan
4+
ms.author: estfan
5+
ms.topic: include
6+
ms.date: 01/06/2025
7+
---
8+
9+
> [!IMPORTANT]
10+
>
11+
> For optimal security, use [Microsoft Entra ID](/entra/identity/authentication/overview-authentication)
12+
> with [managed identities](/entra/identity/managed-identities-azure-resources/overview) for authentication
13+
> when possible. This method provides superior security without having to provide credentials. Azure manages
14+
> this identity and helps keep authentication information secure so that you don't have to manage this sensitive
15+
> information yourself. To set up a managed identity for Azure Logic Apps, see [Authenticate access and connections to Azure resources with managed identities in Azure Logic Apps](/azure/logic-apps/authenticate-with-managed-identity).
16+
>
17+
> If you have to use a different authentication type, use the next highest level security option available.
18+
> For example, suppose that you have to create a connection by using a connection string instead. A connection
19+
> string includes the authorization information required for your app to access a specific resource, service,
20+
> or system. The access key in the connection string is similar to a root password.
21+
>
22+
> In production environments, always protect sensitive information and secrets, such as credentials, certificates,
23+
> thumbprints, access keys, and connection strings. Make sure that you securely store such information by using
24+
> Microsoft Entra ID and [Azure Key Vault](https://go.microsoft.com/fwlink/?linkid=2300117). Avoid hardcoding
25+
> this information, sharing with other users, or saving in plain text anywhere that others can access. Rotate your
26+
> secrets as soon as possible if you think this information might be compromised. For more information, see
27+
> [About Azure Key Vault](/azure/key-vault/general/overview).

articles/logic-apps/includes/hightest-security-level-guidance.md

Lines changed: 0 additions & 27 deletions
This file was deleted.

articles/logic-apps/logic-apps-custom-api-authentication.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ For example:
257257

258258
To validate the incoming requests from your logic app workflow to your web app or API app, you can use client certificates. To set up your code, learn [how to configure TLS mutual authentication](../app-service/app-service-web-configure-tls-mutual-auth.md).
259259

260+
[!INCLUDE [secrets-guidance](includes/secrets-guidance.md)]
261+
260262
In the **Authorization** section, include the following properties:
261263

262264
```json
@@ -277,7 +279,9 @@ In the **Authorization** section, include the following properties:
277279

278280
### Basic authentication
279281

280-
To validate incoming requests from your logic app to your web app or API app, you can use basic authentication, such as a username and password. Basic authentication is a common pattern, and you can use this authentication in any language used to build your web app or API app.
282+
To validate incoming requests from your logic app to your web app or API app, you can use basic authentication, such as a username and password. Although basic authentication is a common pattern, and you can use this authentication in any language used to build your web app or API app, in production scenarios, use the best authentication level that's available.
283+
284+
[!INCLUDE [highest-security-level-guidance](includes/highest-security-level-guidance.md)]
281285

282286
In the **Authorization** section, include the following properties:
283287

0 commit comments

Comments
 (0)