Storing Azure B2C credentials in Azure Key Vault

Subhash Kumar Mahato 265 Reputation points
2023-12-29T04:53:13.7766667+00:00

Hi All,

What are the best practices for utilizing Azure Key Vault to store Azure B2C credentials? Specifically, what kind of information can be securely stored in the key vault?

Further, how to access those stored credentials or information? Should it have required to confiture private endpoint for azure key vault?

Please give me some advice, thank you very much.

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,444 questions
Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,975 questions
{count} votes

Accepted answer
  1. Shweta Mathur 30,296 Reputation points Microsoft Employee Moderator
    2023-12-29T05:51:03.6533333+00:00

    Hi @Subhash Kumar Mahato ,

    Thanks for reaching out.

    Unfortunately, you cannot use Azure Key Vault for Azure AD B2C Application.

    Accessing Key Vault is not supported with token obtained using B2C user flow or custom policy. You can request a token using same way that you used with standard Micrsoft Entra ID i.e. using login.microsoftonline.com for B2C tenant as well and access Key Vault using that token.

    Hope this will help.

    Thanks,

    Shweta


    Please remember to "Accept Answer" if answer helped you.

    0 comments No comments

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.