<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Secrets management on Dapr Docs</title><link>https://v1-18.docs.dapr.io/developing-applications/building-blocks/secrets/</link><description>Recent content in Secrets management on Dapr Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/secrets/index.xml" rel="self" type="application/rss+xml"/><item><title>Secrets management overview</title><link>https://v1-18.docs.dapr.io/developing-applications/building-blocks/secrets/secrets-overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/developing-applications/building-blocks/secrets/secrets-overview/</guid><description>&lt;p>Applications usually store sensitive information in secrets by using a dedicated secret store. For example, you authenticate databases, services, and external systems with connection strings, keys, tokens, and other application-level secrets stored in a secret store, such as &lt;a href="https://v1-18.docs.dapr.io/reference/components-reference/supported-secret-stores/">AWS Secrets Manager, Azure Key Vault, Hashicorp Vault, etc&lt;/a>.&lt;/p>
&lt;p>To access these secret stores, the application imports the secret store SDK, often requiring a fair amount of unrelated boilerplate code. This poses an even greater challenge in multi-cloud scenarios, where different vendor-specific secret stores may be used.&lt;/p></description></item><item><title>How To: Retrieve a secret</title><link>https://v1-18.docs.dapr.io/developing-applications/building-blocks/secrets/howto-secrets/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/developing-applications/building-blocks/secrets/howto-secrets/</guid><description>&lt;p>Now that you&amp;rsquo;ve learned &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/secrets/secrets-overview/">what the Dapr secrets building block provides&lt;/a>, learn how it can work in your service. This guide demonstrates how to call the secrets API and retrieve secrets in your application code from a configured secret store.&lt;/p>
&lt;img src="https://v1-18.docs.dapr.io/images/howto-secrets/secrets-mgmt-overview.png" width=1000 alt="Diagram showing secrets management of example service.">


&lt;div class="alert alert-primary" role="alert">
&lt;h4 class="alert-heading">Note&lt;/h4>

 If you haven&amp;rsquo;t already, &lt;a href="https://v1-18.docs.dapr.io/getting-started/quickstarts/secrets-quickstart/">try out the secrets management quickstart&lt;/a> for a quick walk-through on how to use the secrets API.

&lt;/div>

&lt;h2 id="set-up-a-secret-store">Set up a secret store&lt;/h2>
&lt;p>Before retrieving secrets in your application&amp;rsquo;s code, you must configure a secret store component. This example configures a secret store that uses a local JSON file to store secrets.&lt;/p></description></item><item><title>How To: Use secret scoping</title><link>https://v1-18.docs.dapr.io/developing-applications/building-blocks/secrets/secrets-scopes/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/developing-applications/building-blocks/secrets/secrets-scopes/</guid><description>&lt;p>Once you &lt;a href="https://v1-18.docs.dapr.io/operations/components/setup-secret-store/">configure a secret store for your application&lt;/a>, &lt;em>any&lt;/em> secret defined within that store is accessible by default from the Dapr application.&lt;/p>
&lt;p>You can limit the Dapr application&amp;rsquo;s access to specific secrets by defining secret scopes. Simply add a secret scope policy &lt;a href="https://v1-18.docs.dapr.io/concepts/configuration-concept/">to the application configuration&lt;/a> with restrictive permissions.&lt;/p>
&lt;p>The secret scoping policy applies to any &lt;a href="https://v1-18.docs.dapr.io/reference/components-reference/supported-secret-stores/">secret store&lt;/a>, including:&lt;/p>
&lt;ul>
&lt;li>A local secret store&lt;/li>
&lt;li>A Kubernetes secret store&lt;/li>
&lt;li>A public cloud secret store&lt;/li>
&lt;/ul>
&lt;p>For details on how to set up a &lt;a href="https://v1-18.docs.dapr.io/operations/components/setup-secret-store/">secret store&lt;/a>, read &lt;a href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/secrets/howto-secrets/">How To: Retrieve a secret&lt;/a>.&lt;/p></description></item></channel></rss>