{"id":40977,"date":"2022-09-12T00:34:18","date_gmt":"2022-09-12T07:34:18","guid":{"rendered":"https:\/\/devblogs.microsoft.com\/premier-developer\/?p=40977"},"modified":"2022-09-09T06:48:59","modified_gmt":"2022-09-09T13:48:59","slug":"getting-secrets-from-key-vault-in-yaml-pipeline","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/premier-developer\/getting-secrets-from-key-vault-in-yaml-pipeline\/","title":{"rendered":"Getting secrets from Key Vault in YAML pipeline"},"content":{"rendered":"<p><a href=\"https:\/\/www.linkedin.com\/in\/another-redman\/\">Andrew Redman<\/a> spotlights how to use a Key Vault Task inside an Azure DevOps pipeline to automate a deployment using secrets.<\/p>\n<hr \/>\n<p>Keeping your connection strings and secrets secure is not necessarily only a concern of just one type of industry.\u00a0 The best practice would be to keep security at the top of your mind regardless of if you are working on an app for a company in the Healthcare space or Finance, Retail, etc\u2026.Azure Key Vault can help in doing just that.<\/p>\n<p>&nbsp;<\/p>\n<p>If you have ever created an Azure App Service or Azure Function App that uses app settings, then you have dealt with the problem of how you are going to get those settings secure and updated correctly in each environment.\u00a0 You need a secure location to store this information and then be able to access it during your deployment process.\u00a0 Azure Key Vault and using the Azure Key Vault task inside a deployment pipeline in Azure DevOps can solve this problem for you.\u00a0 If you prefer video, then have a look at this as it will walk you through the steps of getting this setup.<\/p>\n<p>Explore the walk-through and video <a href=\"https:\/\/techcommunity.microsoft.com\/t5\/healthcare-and-life-sciences\/getting-secrets-from-key-vault-in-yaml-pipeline\/ba-p\/3604759\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Andrew Redman spotlights how to use a Key Vault Task inside an Azure DevOps pipeline to automate a deployment using secrets. Keeping your connection strings and secrets secure is not necessarily only a concern of just one type of industry.\u00a0 The best practice would be to keep security at the top of your mind regardless [&hellip;]<\/p>\n","protected":false},"author":582,"featured_media":40978,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[22],"tags":[10221,2571,157],"class_list":["post-40977","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","tag-app-secrets","tag-azure-devops","tag-azure-key-vault"],"acf":[],"blog_post_summary":"<p>Andrew Redman spotlights how to use a Key Vault Task inside an Azure DevOps pipeline to automate a deployment using secrets. Keeping your connection strings and secrets secure is not necessarily only a concern of just one type of industry.\u00a0 The best practice would be to keep security at the top of your mind regardless [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/40977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/users\/582"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/comments?post=40977"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/posts\/40977\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media\/40978"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/media?parent=40977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/categories?post=40977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/premier-developer\/wp-json\/wp\/v2\/tags?post=40977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}