Azure API Management Identity Provider Microsoft
This page shows how to write Terraform and Azure Resource Manager for API Management Identity Provider Microsoft and write them securely.
azurerm_api_management_identity_provider_microsoft (Terraform)
The Identity Provider Microsoft in API Management can be configured in Terraform with the resource name azurerm_api_management_identity_provider_microsoft. The following sections describe 1 example of how to use the resource and its parameters.
Example Usage from GitHub
resource "azurerm_api_management_identity_provider_microsoft" "this" {
api_management_name = var.api_management_name
client_id = var.client_id
client_secret = var.client_secret
resource_group_name = var.resource_group_name
Parameters
-
api_management_namerequired - string -
client_idrequired - string -
client_secretrequired - string -
idoptional computed - string -
resource_group_namerequired - string -
timeoutssingle block
Explanation in Terraform Registry
Manages an API Management Microsoft Identity Provider.
Microsoft.ApiManagement/service/identityProviders (Azure Resource Manager)
The service/identityProviders in Microsoft.ApiManagement can be configured in Azure Resource Manager with the resource name Microsoft.ApiManagement/service/identityProviders. 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 - stringIdentity Provider Type identifier.
propertiesrequiredallowedTenantsoptional - arrayList of Allowed Tenants when configuring Azure Active Directory login.
authorityoptional - stringOpenID Connect discovery endpoint hostname for AAD or AAD B2C.
clientIdrequired - stringClient Id of the Application in the external Identity Provider. It is App ID for Facebook login, Client ID for Google login, App ID for Microsoft.
clientSecretrequired - stringClient secret of the Application in external Identity Provider, used to authenticate login request. For example, it is App Secret for Facebook login, API Key for Google login, Public Key for Microsoft. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
passwordResetPolicyNameoptional - stringPassword Reset Policy Name. Only applies to AAD B2C Identity Provider.
profileEditingPolicyNameoptional - stringProfile Editing Policy Name. Only applies to AAD B2C Identity Provider.
signinPolicyNameoptional - stringSignin Policy Name. Only applies to AAD B2C Identity Provider.
signinTenantoptional - stringThe TenantId to use instead of Common when logging into Active Directory
signupPolicyNameoptional - stringSignup Policy Name. Only applies to AAD B2C Identity Provider.
typeoptional - stringIdentity Provider Type identifier.
typerequired - string
Frequently asked questions
What is Azure API Management Identity Provider Microsoft?
Azure API Management Identity Provider Microsoft 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 Identity Provider Microsoft?
For Terraform, the kevinhead/azurerm source code example is useful. See the Terraform Example section for further details.