Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Managed identity should be used in your web app #70

Open
feliperomero3 opened this issue Dec 20, 2020 · 1 comment
Open

Managed identity should be used in your web app #70

feliperomero3 opened this issue Dec 20, 2020 · 1 comment
Assignees
Labels
security Azure Security Center recommendations

Comments

@feliperomero3
Copy link
Owner

Description

For enhanced authentication security, use a managed identity.
On Azure, managed identities eliminate the need for developers to have to manage credentials by providing an identity for the Azure resource in Azure AD and using it to obtain Azure Active Directory (Azure AD) tokens.

Remediation steps

Manual remediation

To create a managed identity for your web app:

  1. Go to the App Service for your API app
  2. Scroll to the Settings group in the left navigation
  3. Select Identity
  4. Use System assigned or User assigned identity following the steps described in this doc: https://aka.ms/managed-identity

Retrofit all the necessary changes into the ARM template of the solution.

@feliperomero3 feliperomero3 added the security Azure Security Center recommendations label Dec 20, 2020
@feliperomero3 feliperomero3 self-assigned this Dec 20, 2020
@feliperomero3
Copy link
Owner Author

The App Service Managed Identity will be used to authenticate the App Service to Azure SQL. This way we can remove the connection string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security Azure Security Center recommendations
Projects
None yet
Development

No branches or pull requests

1 participant