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
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
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
Parameters
-
api_management_name
required - string -
client_id
required - string -
client_secret
required - string -
description
optional - string -
display_name
required - string -
id
optional computed - string -
metadata_endpoint
required - string -
name
required - string -
resource_group_name
required - string -
timeouts
single block
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 - stringname
required - stringIdentifier of the OpenID Connect Provider.
properties
requiredclientId
required - stringClient ID of developer console which is the client application.
clientSecret
optional - stringClient Secret of developer console which is the client application.
description
optional - stringUser-friendly description of OpenID Connect Provider.
displayName
required - stringUser-friendly OpenID Connect Provider name.
metadataEndpoint
required - stringMetadata 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.