From 2115e41cb8975eece448e81620002224ad45a321 Mon Sep 17 00:00:00 2001 From: Carlos Mendible <266546+cmendible@users.noreply.github.com> Date: Wed, 5 Oct 2022 07:11:45 +0200 Subject: [PATCH] Azure App Configuration Request Metadata (#2810) * Azure App Configuration Request Metadata Signed-off-by: cmendible * Update daprdocs/content/en/reference/components-reference/supported-configuration-stores/azure-appconfig-configuration-store.md Co-authored-by: Mark Fussell Signed-off-by: Carlos Mendible <266546+cmendible@users.noreply.github.com> * Update daprdocs/content/en/reference/components-reference/supported-configuration-stores/azure-appconfig-configuration-store.md Co-authored-by: Mark Fussell Signed-off-by: Carlos Mendible <266546+cmendible@users.noreply.github.com> * Update daprdocs/content/en/reference/components-reference/supported-configuration-stores/azure-appconfig-configuration-store.md Co-authored-by: Mark Fussell Signed-off-by: Carlos Mendible <266546+cmendible@users.noreply.github.com> * Update daprdocs/content/en/reference/components-reference/supported-configuration-stores/azure-appconfig-configuration-store.md Co-authored-by: Mark Fussell Signed-off-by: Carlos Mendible <266546+cmendible@users.noreply.github.com> Signed-off-by: cmendible Signed-off-by: Carlos Mendible <266546+cmendible@users.noreply.github.com> Co-authored-by: Mark Fussell Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> --- .../azure-appconfig-configuration-store.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/daprdocs/content/en/reference/components-reference/supported-configuration-stores/azure-appconfig-configuration-store.md b/daprdocs/content/en/reference/components-reference/supported-configuration-stores/azure-appconfig-configuration-store.md index bd5faae56..490b75d61 100644 --- a/daprdocs/content/en/reference/components-reference/supported-configuration-stores/azure-appconfig-configuration-store.md +++ b/daprdocs/content/en/reference/components-reference/supported-configuration-stores/azure-appconfig-configuration-store.md @@ -89,6 +89,20 @@ You need an Azure subscription to set up Azure App Configuration. In a production-grade application, follow [the secret management]({{< ref component-secrets.md >}}) instructions to securely manage your secrets. {{% /alert %}} +## Azure App Configuration request metadata + +In Azure App Configuration, you can use labels to define different values for the same key. For example, you can define a single key with different values for development and production. You can specify which label to load when connecting to App Configuration + +The Azure App Configuration store component supports the following optional `label` metadata property: + +`label`: The label of the configuration to retrieve. If not present, the configuration store returns the configuration for the specified key and a null label. + +The label can be populated using query parameters in the request URL: + +```bash +GET curl http://localhost:/v1.0-alpha1/configuration/?key=&metadata.label=