<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by İncilay Dikbıyık on Medium]]></title>
        <description><![CDATA[Stories by İncilay Dikbıyık on Medium]]></description>
        <link>https://medium.com/@incilaydikbiyik?source=rss-7a3d9aa46923------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by İncilay Dikbıyık on Medium</title>
            <link>https://medium.com/@incilaydikbiyik?source=rss-7a3d9aa46923------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 08:27:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@incilaydikbiyik/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[INTRODUCTION TO AZURE KEY VAULT]]></title>
            <link>https://medium.com/multinetinventiv/introduction-to-azure-key-vault-2940a1de326b?source=rss-7a3d9aa46923------2</link>
            <guid isPermaLink="false">https://medium.com/p/2940a1de326b</guid>
            <category><![CDATA[azure]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[english]]></category>
            <category><![CDATA[azure-key-vault]]></category>
            <category><![CDATA[azure-pipelines]]></category>
            <dc:creator><![CDATA[İncilay Dikbıyık]]></dc:creator>
            <pubDate>Fri, 25 Jun 2021 15:22:40 GMT</pubDate>
            <atom:updated>2021-06-25T15:51:28.637Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9D1y85x7XjLInrcngPTNAQ.png" /></figure><h4>What Is Key Vault?</h4><p>Nowadays, data security has become much more important with stolen passwords and hacked sites. According to statistical research conducted through a survey in which 300 CISOs participated, security configuration remained the top concern within the cloud environment for which 67% of participants voted. The next line was lack of visibility when it comes to speculating the network endpoints which was verified by 64% of the group. And last but not least was the identity and access management related threats that accounted for about 61% vote of the CISO professionals.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*nLm6jur5TaXCATt8v8IoAQ.png" /><figcaption><a href="https://www.nsc42.co.uk/post/cloud-misconfiguration-leads-to-breaches">Data Loss And Privacy Analysis Source</a></figcaption></figure><p>As the attacks increased, the solutions developed against it increased. At this point, Key Management products are one of the methods developed as an alternative to the need for sensitive data storage in applications.</p><p>These products create layers between the application and the sensitive data used within the application. Thanks to these layers, it provides solutions for data storage and provides secure and centralized management.</p><p>With software or hardware methods, data is stored through layers. For example, HSM is used as a hardware method, thus providing protection against external attacks. In software, different cryptographic methods can be used. Administratively, data security is ensured by restricting the access of credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/605/1*4exXnnHhbkegMnqfTu_NGQ.png" /><figcaption><a href="https://www.verizon.com/business/resources/reports/dbir/2021/results-and-analysis/">Statistic Table Source</a></figcaption></figure><h4>What Are The Popular Key Vault Tools?</h4><p>Key vault / key management products being popular are following:</p><ul><li><a href="https://azure.microsoft.com/en-us/services/key-vault/">Azure Key Vault</a></li><li><a href="https://aws.amazon.com/en/kms/">AWS Key Management Service</a></li><li><a href="https://cloud.google.com/security-key-management">Google Key Management Service</a></li><li><a href="https://www.vaultproject.io/">Hashicorp Vault</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YK7CrK_CXRFGA4sgIPIqJg.png" /><figcaption>Key Vault Tool Alternatives</figcaption></figure><p>Each product has its own pros and cons. In this article, we will focus on Azure Key Vault and its usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*6kSL6EThnhFfAtX6oa52cA.png" /></figure><h4>What Is Azure Key Vault ?</h4><p>Azure Key Vault is a cloud service for securely storing and accessing secrets. A secret is anything that you want to tightly control access to, such as API keys, passwords, certificates, or cryptographic keys. Key Vault service supports two types of containers: vaults and managed hardware security module(HSM) pools. Vaults support storing software and HSM-backed keys, secrets, and certificates. Managed HSM pools only support HSM-backed keys.</p><ul><li><strong>Secrets Management</strong> — Azure Key Vault can be used to Securely store and tightly control access to tokens, passwords, certificates, API keys, and other secrets.</li><li><strong>Key Management</strong> — Azure Key Vault can also be used as a Key Management solution. Azure Key Vault makes it easy to create and control the encryption keys used to encrypt your data.</li><li><strong>Certificate Management</strong> — Azure Key Vault is also a service that lets you easily enroll, manage, and deploy public and private Transport Layer Security/Secure Sockets Layer (TLS/SSL) certificates for use with Azure and your internal connected resources.</li></ul><h4>Why Azure Key Vault ?</h4><ul><li><strong>Centralize application secrets</strong></li></ul><p>Centralizing storage of application secrets in Azure Key Vault allows you to control their distribution. Key Vault greatly reduces the chances that secrets may be accidentally leaked.</p><ul><li><strong>Securely store secrets and keys</strong></li></ul><p>Access to a key vault requires proper authentication and authorization before a caller (user or application) can get access. Authentication establishes the identity of the caller, while authorization determines the operations that they are allowed to perform. Authentication is done via Azure Active Directory.</p><ul><li><strong>Monitor access and use</strong></li></ul><p>Once you have created a couple of Key Vaults, you will want to monitor how and when your keys and secrets are being accessed. You can monitor activity by enabling logging for your vaults. You can configure Azure Key Vault to archive to a storage account, stream to an event hub and send the logs to Azure Monitor logs. You have control over your logs.</p><h4>Using Azure Key Vault In Project</h4><p>For using Azure Key Vault in .Net 5 application, follow next steps:</p><ul><li>Create appropriate key vault for your requirements.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/840/1*z02fcoRiGwAGTutX-8268g.png" /></figure><ul><li>Add access policy for your application from the portal</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zuCSmUM34wxTcVlpb96kmQ.png" /></figure><ul><li>Create your secret</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*W4iTNSKyN_yN9em67TynpQ.png" /></figure><ul><li>Install following packages.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*K8buChawxVrWUTYdYE8d_w.png" /></figure><ul><li>Configure appsettings for ClientId, Url and ClientSecret</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*FGILf5HFyL1HnhBdWG0Aqw.png" /></figure><ul><li>Modify Program.cs to initialize Azure key vault with its parameters.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qxd7zg8b7Ro96ysfUcGTIw.png" /></figure><ul><li>In order to use secret in your code, read value like you read from config.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*Nmx6D-CwmdrT7c2f8wrNFg.png" /></figure><ul><li>Executed code result</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/1*l4rG68ld0bz_UsRP0kO5Zw.png" /><figcaption>RESULT SCREEN</figcaption></figure><h4>Using Azure Key Vault In Azure Pipelines</h4><ul><li>In order to use Key Vault, variable groups must be created under library menu then proper key vault and its subscription are needed to be linked. Finally, choose key vault variables from variable section.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*skSbfXzZ2M8Ayun6NUBRYQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yOt3GQEptMCnQPmTZQ0yiQ.png" /><figcaption>To replace appsettings.json, ClientId, ClientSecret and ClientUrl are also added to key vault to demostrate Azure Pipelines</figcaption></figure><ul><li>To use variable groups in your pipeline, created link group must be chosen from the “variables &gt; variable group” page.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DjtVA9-4niTDNaajhQhdUg.png" /></figure><ul><li>To transform appsettings.json parameters, following pipeline variable definition needs to be configured.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RpORVEsydX-Kk75Zjj7V2g.png" /></figure><ul><li>Before your deploy task, add File Transform task and set project paths like the following.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1ZUfQSBX_u8IbfSRkN9VkA.png" /></figure><ul><li>Thats all for pipeline configuration to use Key Vault. When you execute your pipeline and deploy your code, pipeline will be replaced appsettings variables with pipeline variables and then your code will be deployed.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u_KTAxrS6scBTPMssIwkQA.png" /><figcaption>Here is deployed demo web app</figcaption></figure><h4>Conclusion</h4><p>To sum it up, Microsoft offers a very useful cloud solution to reliably manage sensitive data and certificates. In this article, we tried to convey the details of the product and its use in general. Considering the pricing, you can also use Azure Key Vault in your own projects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/577/1*dVfEeAE-X-39mTClAUUrDA.jpeg" /></figure><p>We will follow development of Microsoft in this field together. :)</p><blockquote>Thanks to <a href="https://medium.com/u/4fb2bfef3455">Ceyhun ÜNLÜ</a> and <a href="https://medium.com/u/f3b3dab062fe">Ali Karaca</a> for their contributions in the preparation of this article.</blockquote><h4>References</h4><ul><li><a href="https://docs.microsoft.com/en-us/azure/key-vault/general/overview">Azure Key Vault Overview - Azure Key Vault</a></li><li><a href="https://daniel-krzyczkowski.github.io/How-to-inject-Azure-Key-Vault-secrets-in-the-Azure-DevOps-CICD-pipelines/">How to inject Azure Key Vault secrets in the Azure DevOps CI/CD pipelines</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2940a1de326b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/multinetinventiv/introduction-to-azure-key-vault-2940a1de326b">INTRODUCTION TO AZURE KEY VAULT</a> was originally published in <a href="https://medium.com/multinetinventiv">inventiv</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>