Azure API Management Openid Connect Provider

This page shows how to write Terraform and Azure Resource Manager for API Management Openid Connect Provider and write them securely.

azurerm_api_management_openid_connect_provider (Terraform)

The Openid Connect Provider in API Management can be configured in Terraform with the resource name azurerm_api_management_openid_connect_provider. The following sections describe 2 examples of how to use the resource and its parameters.

Example Usage from GitHub

main.tf#L7
resource "azurerm_api_management_openid_connect_provider" "this" {
  api_management_name = var.api_management_name
  client_id           = var.client_id
  client_secret       = var.client_secret
  description         = var.description
  display_name        = var.display_name
main.tf#L7
resource "azurerm_api_management_openid_connect_provider" "this" {
  api_management_name = var.api_management_name
  client_id           = var.client_id
  client_secret       = var.client_secret
  description         = var.description
  display_name        = var.display_name

Review your Terraform file for Azure best practices

Shisho Cloud, our free checker to make sure your Terraform configuration follows best practices, is available (beta).

Parameters

Explanation in Terraform Registry

Manages an OpenID Connect Provider within a API Management Service.

Microsoft.ApiManagement/service/openidConnectProviders (Azure Resource Manager)

The service/openidConnectProviders in Microsoft.ApiManagement can be configured in Azure Resource Manager with the resource name Microsoft.ApiManagement/service/openidConnectProviders. The following sections describe how to use the resource and its parameters.

Example Usage from GitHub

An example could not be found in GitHub.

Parameters

  • apiVersion required - string
  • name required - string

    Identifier of the OpenID Connect Provider.

  • properties required
      • clientId required - string

        Client ID of developer console which is the client application.

      • clientSecret optional - string

        Client Secret of developer console which is the client application.

      • description optional - string

        User-friendly description of OpenID Connect Provider.

      • displayName required - string

        User-friendly OpenID Connect Provider name.

      • metadataEndpoint required - string

        Metadata endpoint URI.

  • type required - string

Frequently asked questions

What is Azure API Management Openid Connect Provider?

Azure API Management Openid Connect Provider is a resource for API Management of Microsoft Azure. Settings can be wrote in Terraform.

Where can I find the example code for the Azure API Management Openid Connect Provider?

For Terraform, the kevinhead/azurerm and niveklabs/azurerm source code examples are useful. See the Terraform Example section for further details.