C# console application hosted on Azure batch service + Azure key vault

Soni 291 Reputation points Microsoft Employee
2021-06-28T05:24:23.98+00:00

Hello Team,

I have a C# console application hosted on Azure Batch Service. I need to fetch credentials of ADLS from Azure Key Vault in console application. What are the possible ways to achieve it.

Regards,
Soni

Azure Batch
Azure Batch
An Azure service that provides cloud-scale job scheduling and compute management.
330 questions
{count} votes

Accepted answer
  1. SRIJIT-BOSE-MSFT 4,336 Reputation points Microsoft Employee
    2021-06-28T06:16:51.253+00:00

    @Soni , Thank you for your question.

    This article talks about how to set up Batch nodes to securely access credentials stored in Azure Key Vault. There's no point in putting your admin credentials in Key Vault, then hard-coding credentials to access Key Vault from a script. The solution is to use a certificate that grants your Batch nodes access to Key Vault.


1 additional answer

Sort by: Most helpful
  1. Soni 291 Reputation points Microsoft Employee
    2021-07-05T10:31:18.55+00:00

    @SRIJIT-BOSE-MSFT : Thanks for references. There were really useful.

    0 comments No comments

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.