QuestionQ45

VerifiedSecure, monitor, troubleshoot Azure solutions

You are building an AI-powered API that retrieves connection strings and API keys from Azure Key Vault.

You must configure a solution that provides the following security capabilities:

  • The API must authenticate to Key Vault without storing credentials in any application configuration files.
  • The API identity must have only the minimum permissions required to read secrets.
  • The configuration must limit the blast radius if an identity or credential is compromised.

You need to implement a secure access strategy for the API.

Which two actions should you take? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Choose two
Explanation

A system-assigned managed identity provides an application identity that can authenticate to Azure Key Vault without an application-managed credential. The Key Vault Secrets User role grants permission to read secret contents; assigning it at the vault scope limits access to that vault and follows least privilege. Key Vault Administrator at subscription scope grants excessive administrative access.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!