When making access policy for public cloud service principal, to whom the access is actually given?

Tero Niemi 51 Reputation points
2024-11-05T08:39:20.76+00:00

On the documentation here we are required to give access for "abfa0a7c-a6b6-4736-8310-5855508787cd for public Azure cloud environment" to KeyVault in order for App Services be able to access keyvault certificates.

If we give access to this principal what exactly are we giving rights to?

I am hoping it's not any app service in Azure.... I would assume it's only inside current tenant, but it doesn't come clear in the documentation.

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,408 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,565 questions
0 comments No comments
{count} votes

Accepted answer
  1. Akhilesh Vallamkonda 13,695 Reputation points Microsoft External Staff
    2024-11-06T13:25:16.6+00:00

    Hi @Tero Niemi

    Thank you for reaching Microsoft Q&A Forum!

    When you grant access to the service principal "xxxxxx-xxxxx-xxxx-xxxxx-xxxx08787cd" for the Azure Key Vault, you are typically allowing it to perform specific actions such as reading secrets, certificates, or keys stored in the Key Vault.
    The service principal will have the ability to read secrets and certificates from the Key Vault. This is essential for App Services to retrieve certificates for SSL/TLS bindings.
    The access is generally limited to the Key Vault within the current Azure subscription and tenant. It does not grant access to other Azure resources or Key Vaults outside of this scope unless explicitly configured.

    Hope this helps. Do let us know if you any further queries by responding in the comments section.

    Thanks,

    Akhilesh.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.