Access keyVault secret in Azure Devops CI/CD pipeline | Print Key vault secret value in CD.

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 เม.ย. 2024
  • In this video , we will access secret value in CD pipeline.
    This secret value has been stored in Azure Key vault. After accessing the key vault value in CI/CD pipeline, we can not print that secret value, as because Azure Devops mask that value.
    However, there is a workaround to get / debug the value. We Encode the value to Base64String and then, we copy the value and then we decode the value in different website.
    Here is the code to encode secret value..
    $encodedSecret =[Convert]::ToBase64String([System.Text.Encoding]::UTF8.GetBytes("$(myconnectionstring)"))
    In mid of the session of , I have given the link of existing video, which may help you to get the understanding in detail.
    For example: * how to create service connection.
    • How to create Service ...
    How to do the build validation, for that you can follow
    • Azure Build Validation...
    I will suggest you that if you want to understand the Azure devops in detail step by step, please follow my Azure Devops Series.
    • Azure Devops || PlayLi...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1

  • @aakashpunekar9437
    @aakashpunekar9437 3 หลายเดือนก่อน +1

    Thank you for this sir, please be consistent now I am really happy to see videos coming out again
    Thank you ❤