<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Configuration on Dapr Docs</title><link>https://v1-18.docs.dapr.io/developing-applications/building-blocks/configuration/</link><description>Recent content in Configuration on Dapr Docs</description><generator>Hugo</generator><language>en</language><atom:link href="https://v1-18.docs.dapr.io/developing-applications/building-blocks/configuration/index.xml" rel="self" type="application/rss+xml"/><item><title>Configuration overview</title><link>https://v1-18.docs.dapr.io/developing-applications/building-blocks/configuration/configuration-api-overview/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/developing-applications/building-blocks/configuration/configuration-api-overview/</guid><description>&lt;p>Consuming application configuration is a common task when writing applications. Frequently, configuration stores are used to manage this configuration data. A configuration item is often dynamic in nature and tightly coupled to the needs of the application that consumes it.&lt;/p>
&lt;p>For example, application configuration can include:&lt;/p>
&lt;ul>
&lt;li>Names of secrets&lt;/li>
&lt;li>Different identifiers&lt;/li>
&lt;li>Partition or consumer IDs&lt;/li>
&lt;li>Names of databases to connect to, etc&lt;/li>
&lt;/ul>
&lt;p>Usually, configuration items are stored as key/value items in a state store or database. Developers or operators can change application configuration at runtime in the configuration store. Once changes are made, a service is notified to load the new configuration.&lt;/p></description></item><item><title>How-To: Manage configuration from a store</title><link>https://v1-18.docs.dapr.io/developing-applications/building-blocks/configuration/howto-manage-configuration/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://v1-18.docs.dapr.io/developing-applications/building-blocks/configuration/howto-manage-configuration/</guid><description>&lt;p>This example uses the Redis configuration store component to demonstrate how to retrieve a configuration item.&lt;/p>
&lt;img src="https://v1-18.docs.dapr.io/images/building-block-configuration-example.png" width=1000 alt="Diagram showing get configuration 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/configuration-quickstart/">try out the configuration quickstart&lt;/a> for a quick walk-through on how to use the configuration API.

&lt;/div>



&lt;div class="alert alert-primary" role="alert">
&lt;h4 class="alert-heading">Disabling configuration initialization endpoint&lt;/h4>

 If your application does not use the configuration building block, the automatic HTTP call to the &lt;code>/dapr/config&lt;/code> endpoint during initialization can be disabled to reduce log noise. Use the &lt;code>--disable-init-endpoints config&lt;/code> flag with &lt;code>dapr run&lt;/code>, or the &lt;code>dapr.io/disable-init-endpoints: &amp;quot;config&amp;quot;&lt;/code> annotation in Kubernetes. &lt;a href="https://v1-18.docs.dapr.io/reference/arguments-annotations-overview/#disable-init-endpoints">Learn more about disabling initialization endpoints.&lt;/a>

&lt;/div>

&lt;h2 id="create-a-configuration-item-in-store">Create a configuration item in store&lt;/h2>
&lt;p>Create a configuration item in a supported configuration store. This can be a simple key-value item, with any key of your choice. As mentioned earlier, this example uses the Redis configuration store component.&lt;/p></description></item></channel></rss>