How to authenticate with Key Vault from Azure Batch

狂风中的少年 提交于 2019-12-06 21:00:30

Using this article as a guide, I added the below options to the makecert command.

-a sha256 -len 2048

This certificate on it's own still wont work, you then need to run pvk2pfx with only the below options:

pvk2pfx -pvk batchcertificate.pvk -spc batchcertificate.cer

This opens the wizard, using which you then need to:

  1. select "yes export the private key"
  2. Tick the following options:
    • "include all certificates in the certification path if possible"
    • "Export all extended properties"
    • "Enable certificate privacy"
  3. On the next page, add a password

You can try your hand at this documentation as well: https://samcogan.com/secure-credential-access-with-azure-batch-and-keyvault/

I believe that Microsoft will publish more documentation on this specifically in the future.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!