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_namerequired - string -
client_idrequired - string -
client_secretrequired - string -
descriptionoptional - string -
display_namerequired - string -
idoptional computed - string -
metadata_endpointrequired - string -
namerequired - string -
resource_group_namerequired - string -
timeoutssingle 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
apiVersionrequired - stringnamerequired - stringIdentifier of the OpenID Connect Provider.
propertiesrequiredclientIdrequired - stringClient ID of developer console which is the client application.
clientSecretoptional - stringClient Secret of developer console which is the client application.
descriptionoptional - stringUser-friendly description of OpenID Connect Provider.
displayNamerequired - stringUser-friendly OpenID Connect Provider name.
metadataEndpointrequired - stringMetadata endpoint URI.
typerequired - 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.