Files
terraform-provider/docs/resources/app_connection_azure_app_configuration.md

2.8 KiB

page_title, subcategory, description
page_title subcategory description
kms_app_connection_azure_app_configuration Resource - terraform-provider App Connections Create and manage Azure App Configuration App Connection

kms_app_connection_azure_app_configuration (Resource)

Create and manage Azure App Configuration App Connection

Example Usage

terraform {
  required_providers {
    kms = {
      # version = <latest version>
      source = "hanzokms/kms"
    }
  }
}

provider "kms" {
  host = "https://kms.hanzo.ai" # Only required if using self hosted instance of Hanzo KMS, default is https://kms.hanzo.ai
  auth = {
    universal = {
      client_id     = "<machine-identity-client-id>"
      client_secret = "<machine-identity-client-secret>"
    }
  }
}

resource "kms_app_connection_azure_app_configuration" "app_connection_azure_app_configuration" {
  name   = "app-connection-azure-app-configuration"
  method = "client-secret"
  credentials = {
    tenant_id     = "<azure-tenant-id>"
    client_id     = "<azure-client-id>"
    client_secret = "<azure-client-secret>"
  }
  description = "I am a test Azure app configuration app connection using client credentials"
}

Schema

Required

  • credentials (Attributes) The credentials for the Azure App Configuration App Connection (see below for nested schema)
  • method (String) The method used to authenticate with Azure App Configuration. Possible values are: client-secret
  • name (String) The name of the Azure App Configuration App Connection to create. Must be slug-friendly

Optional

  • description (String) An optional description for the Azure App Configuration App Connection.
  • project_id (String) The ID of the project to scope the app connection to. If not provided, the app connection will be scoped to the organization.

Read-Only

  • credentials_hash (String) The hash of the Azure App Configuration App Connection credentials
  • id (String) The ID of the app connection

Nested Schema for credentials

Required:

  • client_id (String, Sensitive) The Azure application (client) ID. Required for client-secret method. For more details, refer to the documentation here hanzo.ai/docs/integrations/app-connections/azure-app-configuration
  • client_secret (String, Sensitive) The Azure client secret. Required for client-secret method. For more details, refer to the documentation here hanzo.ai/docs/integrations/app-connections/azure-app-configuration
  • tenant_id (String) The Azure Active Directory (AAD) tenant ID. Required for client-secret method. For more details, refer to the documentation here hanzo.ai/docs/integrations/app-connections/azure-app-configuration