1. Packages
  2. Azure Classic
  3. API Docs
  4. appconfiguration
  5. getConfigurationStore

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.appconfiguration.getConfigurationStore

Explore with Pulumi AI

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

Use this data source to access information about an existing App Configuration.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = azure.appconfiguration.getConfigurationStore({
    name: "existing",
    resourceGroupName: "existing",
});
export const id = example.then(example => example.id);
Copy
import pulumi
import pulumi_azure as azure

example = azure.appconfiguration.get_configuration_store(name="existing",
    resource_group_name="existing")
pulumi.export("id", example.id)
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/appconfiguration"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := appconfiguration.LookupConfigurationStore(ctx, &appconfiguration.LookupConfigurationStoreArgs{
			Name:              "existing",
			ResourceGroupName: "existing",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = Azure.AppConfiguration.GetConfigurationStore.Invoke(new()
    {
        Name = "existing",
        ResourceGroupName = "existing",
    });

    return new Dictionary<string, object?>
    {
        ["id"] = example.Apply(getConfigurationStoreResult => getConfigurationStoreResult.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.appconfiguration.AppconfigurationFunctions;
import com.pulumi.azure.appconfiguration.inputs.GetConfigurationStoreArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var example = AppconfigurationFunctions.getConfigurationStore(GetConfigurationStoreArgs.builder()
            .name("existing")
            .resourceGroupName("existing")
            .build());

        ctx.export("id", example.applyValue(getConfigurationStoreResult -> getConfigurationStoreResult.id()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: azure:appconfiguration:getConfigurationStore
      arguments:
        name: existing
        resourceGroupName: existing
outputs:
  id: ${example.id}
Copy

Using getConfigurationStore

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getConfigurationStore(args: GetConfigurationStoreArgs, opts?: InvokeOptions): Promise<GetConfigurationStoreResult>
function getConfigurationStoreOutput(args: GetConfigurationStoreOutputArgs, opts?: InvokeOptions): Output<GetConfigurationStoreResult>
Copy
def get_configuration_store(name: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetConfigurationStoreResult
def get_configuration_store_output(name: Optional[pulumi.Input[str]] = None,
                            resource_group_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetConfigurationStoreResult]
Copy
func LookupConfigurationStore(ctx *Context, args *LookupConfigurationStoreArgs, opts ...InvokeOption) (*LookupConfigurationStoreResult, error)
func LookupConfigurationStoreOutput(ctx *Context, args *LookupConfigurationStoreOutputArgs, opts ...InvokeOption) LookupConfigurationStoreResultOutput
Copy

> Note: This function is named LookupConfigurationStore in the Go SDK.

public static class GetConfigurationStore 
{
    public static Task<GetConfigurationStoreResult> InvokeAsync(GetConfigurationStoreArgs args, InvokeOptions? opts = null)
    public static Output<GetConfigurationStoreResult> Invoke(GetConfigurationStoreInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetConfigurationStoreResult> getConfigurationStore(GetConfigurationStoreArgs args, InvokeOptions options)
public static Output<GetConfigurationStoreResult> getConfigurationStore(GetConfigurationStoreArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:appconfiguration/getConfigurationStore:getConfigurationStore
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The Name of this App Configuration.
ResourceGroupName This property is required. string
The name of the Resource Group where the App Configuration exists.
Name This property is required. string
The Name of this App Configuration.
ResourceGroupName This property is required. string
The name of the Resource Group where the App Configuration exists.
name This property is required. String
The Name of this App Configuration.
resourceGroupName This property is required. String
The name of the Resource Group where the App Configuration exists.
name This property is required. string
The Name of this App Configuration.
resourceGroupName This property is required. string
The name of the Resource Group where the App Configuration exists.
name This property is required. str
The Name of this App Configuration.
resource_group_name This property is required. str
The name of the Resource Group where the App Configuration exists.
name This property is required. String
The Name of this App Configuration.
resourceGroupName This property is required. String
The name of the Resource Group where the App Configuration exists.

getConfigurationStore Result

The following output properties are available:

DataPlaneProxyAuthenticationMode string
The data plane proxy authentication mode.
DataPlaneProxyPrivateLinkDelegationEnabled bool
Whether data plane proxy private link delegation is enabled.
Encryptions List<GetConfigurationStoreEncryption>
An encryption block as defined below.
Endpoint string
The URL of the App Configuration Replica.
Id string
The provider-assigned unique ID for this managed resource.
Identities List<GetConfigurationStoreIdentity>
An identity block as defined below.
LocalAuthEnabled bool
Whether local authentication methods are enabled.
Location string
The supported Azure location where the App Configuration Replica exists.
Name string
The name of the App Configuration Replica.
PrimaryReadKeys List<GetConfigurationStorePrimaryReadKey>
A primary_read_key block as defined below containing the primary read access key.
PrimaryWriteKeys List<GetConfigurationStorePrimaryWriteKey>
A primary_write_key block as defined below containing the primary write access key.
PublicNetworkAccess string
The Public Network Access setting of this App Configuration.
PublicNetworkAccessEnabled bool
PurgeProtectionEnabled bool
Whether Purge Protection is enabled.
Replicas List<GetConfigurationStoreReplica>
One or more replica blocks as defined below.
ResourceGroupName string
SecondaryReadKeys List<GetConfigurationStoreSecondaryReadKey>
A secondary_read_key block as defined below containing the secondary read access key.
SecondaryWriteKeys List<GetConfigurationStoreSecondaryWriteKey>
A secondary_write_key block as defined below containing the secondary write access key.
Sku string
The name of the SKU used for this App Configuration.
SoftDeleteRetentionDays int
The number of days that items should be retained for once soft-deleted.
Tags Dictionary<string, string>
A mapping of tags assigned to the App Configuration.
DataPlaneProxyAuthenticationMode string
The data plane proxy authentication mode.
DataPlaneProxyPrivateLinkDelegationEnabled bool
Whether data plane proxy private link delegation is enabled.
Encryptions []GetConfigurationStoreEncryption
An encryption block as defined below.
Endpoint string
The URL of the App Configuration Replica.
Id string
The provider-assigned unique ID for this managed resource.
Identities []GetConfigurationStoreIdentity
An identity block as defined below.
LocalAuthEnabled bool
Whether local authentication methods are enabled.
Location string
The supported Azure location where the App Configuration Replica exists.
Name string
The name of the App Configuration Replica.
PrimaryReadKeys []GetConfigurationStorePrimaryReadKey
A primary_read_key block as defined below containing the primary read access key.
PrimaryWriteKeys []GetConfigurationStorePrimaryWriteKey
A primary_write_key block as defined below containing the primary write access key.
PublicNetworkAccess string
The Public Network Access setting of this App Configuration.
PublicNetworkAccessEnabled bool
PurgeProtectionEnabled bool
Whether Purge Protection is enabled.
Replicas []GetConfigurationStoreReplica
One or more replica blocks as defined below.
ResourceGroupName string
SecondaryReadKeys []GetConfigurationStoreSecondaryReadKey
A secondary_read_key block as defined below containing the secondary read access key.
SecondaryWriteKeys []GetConfigurationStoreSecondaryWriteKey
A secondary_write_key block as defined below containing the secondary write access key.
Sku string
The name of the SKU used for this App Configuration.
SoftDeleteRetentionDays int
The number of days that items should be retained for once soft-deleted.
Tags map[string]string
A mapping of tags assigned to the App Configuration.
dataPlaneProxyAuthenticationMode String
The data plane proxy authentication mode.
dataPlaneProxyPrivateLinkDelegationEnabled Boolean
Whether data plane proxy private link delegation is enabled.
encryptions List<GetConfigurationStoreEncryption>
An encryption block as defined below.
endpoint String
The URL of the App Configuration Replica.
id String
The provider-assigned unique ID for this managed resource.
identities List<GetConfigurationStoreIdentity>
An identity block as defined below.
localAuthEnabled Boolean
Whether local authentication methods are enabled.
location String
The supported Azure location where the App Configuration Replica exists.
name String
The name of the App Configuration Replica.
primaryReadKeys List<GetConfigurationStorePrimaryReadKey>
A primary_read_key block as defined below containing the primary read access key.
primaryWriteKeys List<GetConfigurationStorePrimaryWriteKey>
A primary_write_key block as defined below containing the primary write access key.
publicNetworkAccess String
The Public Network Access setting of this App Configuration.
publicNetworkAccessEnabled Boolean
purgeProtectionEnabled Boolean
Whether Purge Protection is enabled.
replicas List<GetConfigurationStoreReplica>
One or more replica blocks as defined below.
resourceGroupName String
secondaryReadKeys List<GetConfigurationStoreSecondaryReadKey>
A secondary_read_key block as defined below containing the secondary read access key.
secondaryWriteKeys List<GetConfigurationStoreSecondaryWriteKey>
A secondary_write_key block as defined below containing the secondary write access key.
sku String
The name of the SKU used for this App Configuration.
softDeleteRetentionDays Integer
The number of days that items should be retained for once soft-deleted.
tags Map<String,String>
A mapping of tags assigned to the App Configuration.
dataPlaneProxyAuthenticationMode string
The data plane proxy authentication mode.
dataPlaneProxyPrivateLinkDelegationEnabled boolean
Whether data plane proxy private link delegation is enabled.
encryptions GetConfigurationStoreEncryption[]
An encryption block as defined below.
endpoint string
The URL of the App Configuration Replica.
id string
The provider-assigned unique ID for this managed resource.
identities GetConfigurationStoreIdentity[]
An identity block as defined below.
localAuthEnabled boolean
Whether local authentication methods are enabled.
location string
The supported Azure location where the App Configuration Replica exists.
name string
The name of the App Configuration Replica.
primaryReadKeys GetConfigurationStorePrimaryReadKey[]
A primary_read_key block as defined below containing the primary read access key.
primaryWriteKeys GetConfigurationStorePrimaryWriteKey[]
A primary_write_key block as defined below containing the primary write access key.
publicNetworkAccess string
The Public Network Access setting of this App Configuration.
publicNetworkAccessEnabled boolean
purgeProtectionEnabled boolean
Whether Purge Protection is enabled.
replicas GetConfigurationStoreReplica[]
One or more replica blocks as defined below.
resourceGroupName string
secondaryReadKeys GetConfigurationStoreSecondaryReadKey[]
A secondary_read_key block as defined below containing the secondary read access key.
secondaryWriteKeys GetConfigurationStoreSecondaryWriteKey[]
A secondary_write_key block as defined below containing the secondary write access key.
sku string
The name of the SKU used for this App Configuration.
softDeleteRetentionDays number
The number of days that items should be retained for once soft-deleted.
tags {[key: string]: string}
A mapping of tags assigned to the App Configuration.
data_plane_proxy_authentication_mode str
The data plane proxy authentication mode.
data_plane_proxy_private_link_delegation_enabled bool
Whether data plane proxy private link delegation is enabled.
encryptions Sequence[GetConfigurationStoreEncryption]
An encryption block as defined below.
endpoint str
The URL of the App Configuration Replica.
id str
The provider-assigned unique ID for this managed resource.
identities Sequence[GetConfigurationStoreIdentity]
An identity block as defined below.
local_auth_enabled bool
Whether local authentication methods are enabled.
location str
The supported Azure location where the App Configuration Replica exists.
name str
The name of the App Configuration Replica.
primary_read_keys Sequence[GetConfigurationStorePrimaryReadKey]
A primary_read_key block as defined below containing the primary read access key.
primary_write_keys Sequence[GetConfigurationStorePrimaryWriteKey]
A primary_write_key block as defined below containing the primary write access key.
public_network_access str
The Public Network Access setting of this App Configuration.
public_network_access_enabled bool
purge_protection_enabled bool
Whether Purge Protection is enabled.
replicas Sequence[GetConfigurationStoreReplica]
One or more replica blocks as defined below.
resource_group_name str
secondary_read_keys Sequence[GetConfigurationStoreSecondaryReadKey]
A secondary_read_key block as defined below containing the secondary read access key.
secondary_write_keys Sequence[GetConfigurationStoreSecondaryWriteKey]
A secondary_write_key block as defined below containing the secondary write access key.
sku str
The name of the SKU used for this App Configuration.
soft_delete_retention_days int
The number of days that items should be retained for once soft-deleted.
tags Mapping[str, str]
A mapping of tags assigned to the App Configuration.
dataPlaneProxyAuthenticationMode String
The data plane proxy authentication mode.
dataPlaneProxyPrivateLinkDelegationEnabled Boolean
Whether data plane proxy private link delegation is enabled.
encryptions List<Property Map>
An encryption block as defined below.
endpoint String
The URL of the App Configuration Replica.
id String
The provider-assigned unique ID for this managed resource.
identities List<Property Map>
An identity block as defined below.
localAuthEnabled Boolean
Whether local authentication methods are enabled.
location String
The supported Azure location where the App Configuration Replica exists.
name String
The name of the App Configuration Replica.
primaryReadKeys List<Property Map>
A primary_read_key block as defined below containing the primary read access key.
primaryWriteKeys List<Property Map>
A primary_write_key block as defined below containing the primary write access key.
publicNetworkAccess String
The Public Network Access setting of this App Configuration.
publicNetworkAccessEnabled Boolean
purgeProtectionEnabled Boolean
Whether Purge Protection is enabled.
replicas List<Property Map>
One or more replica blocks as defined below.
resourceGroupName String
secondaryReadKeys List<Property Map>
A secondary_read_key block as defined below containing the secondary read access key.
secondaryWriteKeys List<Property Map>
A secondary_write_key block as defined below containing the secondary write access key.
sku String
The name of the SKU used for this App Configuration.
softDeleteRetentionDays Number
The number of days that items should be retained for once soft-deleted.
tags Map<String>
A mapping of tags assigned to the App Configuration.

Supporting Types

GetConfigurationStoreEncryption

IdentityClientId This property is required. string
KeyVaultKeyIdentifier This property is required. string
IdentityClientId This property is required. string
KeyVaultKeyIdentifier This property is required. string
identityClientId This property is required. String
keyVaultKeyIdentifier This property is required. String
identityClientId This property is required. string
keyVaultKeyIdentifier This property is required. string
identity_client_id This property is required. str
key_vault_key_identifier This property is required. str
identityClientId This property is required. String
keyVaultKeyIdentifier This property is required. String

GetConfigurationStoreIdentity

IdentityIds This property is required. List<string>
PrincipalId This property is required. string
TenantId This property is required. string
Type This property is required. string
IdentityIds This property is required. []string
PrincipalId This property is required. string
TenantId This property is required. string
Type This property is required. string
identityIds This property is required. List<String>
principalId This property is required. String
tenantId This property is required. String
type This property is required. String
identityIds This property is required. string[]
principalId This property is required. string
tenantId This property is required. string
type This property is required. string
identity_ids This property is required. Sequence[str]
principal_id This property is required. str
tenant_id This property is required. str
type This property is required. str
identityIds This property is required. List<String>
principalId This property is required. String
tenantId This property is required. String
type This property is required. String

GetConfigurationStorePrimaryReadKey

ConnectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
Id This property is required. string
The ID of the Access Key.
Secret This property is required. string
The Secret of the Access Key.
ConnectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
Id This property is required. string
The ID of the Access Key.
Secret This property is required. string
The Secret of the Access Key.
connectionString This property is required. String
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. String
The ID of the Access Key.
secret This property is required. String
The Secret of the Access Key.
connectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. string
The ID of the Access Key.
secret This property is required. string
The Secret of the Access Key.
connection_string This property is required. str
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. str
The ID of the Access Key.
secret This property is required. str
The Secret of the Access Key.
connectionString This property is required. String
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. String
The ID of the Access Key.
secret This property is required. String
The Secret of the Access Key.

GetConfigurationStorePrimaryWriteKey

ConnectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
Id This property is required. string
The ID of the Access Key.
Secret This property is required. string
The Secret of the Access Key.
ConnectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
Id This property is required. string
The ID of the Access Key.
Secret This property is required. string
The Secret of the Access Key.
connectionString This property is required. String
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. String
The ID of the Access Key.
secret This property is required. String
The Secret of the Access Key.
connectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. string
The ID of the Access Key.
secret This property is required. string
The Secret of the Access Key.
connection_string This property is required. str
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. str
The ID of the Access Key.
secret This property is required. str
The Secret of the Access Key.
connectionString This property is required. String
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. String
The ID of the Access Key.
secret This property is required. String
The Secret of the Access Key.

GetConfigurationStoreReplica

Endpoint This property is required. string
The URL of the App Configuration Replica.
Id This property is required. string
The ID of the Access Key.
Location This property is required. string
The supported Azure location where the App Configuration Replica exists.
Name This property is required. string
The Name of this App Configuration.
Endpoint This property is required. string
The URL of the App Configuration Replica.
Id This property is required. string
The ID of the Access Key.
Location This property is required. string
The supported Azure location where the App Configuration Replica exists.
Name This property is required. string
The Name of this App Configuration.
endpoint This property is required. String
The URL of the App Configuration Replica.
id This property is required. String
The ID of the Access Key.
location This property is required. String
The supported Azure location where the App Configuration Replica exists.
name This property is required. String
The Name of this App Configuration.
endpoint This property is required. string
The URL of the App Configuration Replica.
id This property is required. string
The ID of the Access Key.
location This property is required. string
The supported Azure location where the App Configuration Replica exists.
name This property is required. string
The Name of this App Configuration.
endpoint This property is required. str
The URL of the App Configuration Replica.
id This property is required. str
The ID of the Access Key.
location This property is required. str
The supported Azure location where the App Configuration Replica exists.
name This property is required. str
The Name of this App Configuration.
endpoint This property is required. String
The URL of the App Configuration Replica.
id This property is required. String
The ID of the Access Key.
location This property is required. String
The supported Azure location where the App Configuration Replica exists.
name This property is required. String
The Name of this App Configuration.

GetConfigurationStoreSecondaryReadKey

ConnectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
Id This property is required. string
The ID of the Access Key.
Secret This property is required. string
The Secret of the Access Key.
ConnectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
Id This property is required. string
The ID of the Access Key.
Secret This property is required. string
The Secret of the Access Key.
connectionString This property is required. String
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. String
The ID of the Access Key.
secret This property is required. String
The Secret of the Access Key.
connectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. string
The ID of the Access Key.
secret This property is required. string
The Secret of the Access Key.
connection_string This property is required. str
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. str
The ID of the Access Key.
secret This property is required. str
The Secret of the Access Key.
connectionString This property is required. String
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. String
The ID of the Access Key.
secret This property is required. String
The Secret of the Access Key.

GetConfigurationStoreSecondaryWriteKey

ConnectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
Id This property is required. string
The ID of the Access Key.
Secret This property is required. string
The Secret of the Access Key.
ConnectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
Id This property is required. string
The ID of the Access Key.
Secret This property is required. string
The Secret of the Access Key.
connectionString This property is required. String
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. String
The ID of the Access Key.
secret This property is required. String
The Secret of the Access Key.
connectionString This property is required. string
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. string
The ID of the Access Key.
secret This property is required. string
The Secret of the Access Key.
connection_string This property is required. str
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. str
The ID of the Access Key.
secret This property is required. str
The Secret of the Access Key.
connectionString This property is required. String
The Connection String for this Access Key - consisting of the Endpoint, ID and Secret.
id This property is required. String
The ID of the Access Key.
secret This property is required. String
The Secret of the Access Key.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi