App Configuration Key-Values

Azure Public Test Date Azure Public Test Result

Azure US Gov Last Test Date Azure US Gov Last Test Result

Best Practice Check Cred Scan Check

Deploy To Azure Deploy To Azure US Gov Visualize

This template creates an Azure App Configuration store, then creates two key-values inside the new store via a copy function. This can also deploy key-values that link to an Azure Key Vault.

Parameters

configStoreName

  • type: string
  • description: Specifies the name of the App Configuration store.
  • required: true

location

  • type: string
  • description: Specifies the Azure location where the app configuration store should be created.
  • required: false

keyData

  • type: array
  • description: Array of Objects that contain the key name, key value, label(s), tag(s) and contentType
  • required: true
  • breakdown:
    • key: Name of the Key to be added to the App Configuration Store
      • type: string
      • required: true
    • value: Value of the Key to be added to the App Configuration Store
      • type: string
      • required: false
    • label: Label of of the Key to be added to the App Configuration Store. If multiple labels are wanted then an additional entry to the array is added.
      • type: string
      • required: false
    • tag: Object containing the tag(s) of the Key to be added to the App Configuration Store.
      • type: object
      • required: false
    • contentType: Content Type of the Key to be added to the App Configuration Store.
      • type: string
      • required: false

Notes

  • Key Value Secret Key Entry
    • keyData.key: This can be what you want it to be.
    • keyData.value: Format should be https://{vault-name}.{vault-DNS-suffix}/secrets/{secret-name}/{secret-version}. Secret version is optional.
    • keyData.contentType: Must be 'application/vnd.microsoft.appconfig.keyvaultref+json;charset=utf-8'.

Reference Documentation

If you're new to App Configuration, see:

If you're new to template deployment, see:

Tags: Azure4Student, AppConfiguration, Beginner, Microsoft.AppConfiguration/configurationStores, Microsoft.AppConfiguration/configurationStores/keyValues