Microsoft.ApiManagement service/identityProviders 2021-08-01
Bicep resource definition
The service/identityProviders resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ApiManagement/service/identityProviders resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.ApiManagement/service/identityProviders@2021-08-01' = {
name: 'string'
parent: resourceSymbolicName
properties: {
allowedTenants: [
'string'
]
authority: 'string'
clientId: 'string'
clientSecret: 'string'
passwordResetPolicyName: 'string'
profileEditingPolicyName: 'string'
signinPolicyName: 'string'
signinTenant: 'string'
signupPolicyName: 'string'
type: 'string'
}
}
Property values
service/identityProviders
Name | Description | Value |
---|---|---|
name | The resource name See how to set names and types for child resources in Bicep. |
string (required) Character limit: 1-80 Valid characters: Alphanumerics and hyphens. Start with letter and end with alphanumeric. |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: service |
properties | Identity Provider contract properties. | IdentityProviderCreateContractPropertiesOrIdentityPr... |
IdentityProviderCreateContractPropertiesOrIdentityPr...
Name | Description | Value |
---|---|---|
allowedTenants | List of Allowed Tenants when configuring Azure Active Directory login. | string[] Constraints: Max length = 32 |
authority | OpenID Connect discovery endpoint hostname for AAD or AAD B2C. | string |
clientId | Client 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. | string (required) Constraints: Min length = 1 |
clientSecret | Client 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. | string (required) Constraints: Min length = 1 Sensitive value. Pass in as a secure parameter. |
passwordResetPolicyName | Password Reset Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
profileEditingPolicyName | Profile Editing Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
signinPolicyName | Signin Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
signinTenant | The TenantId to use instead of Common when logging into Active Directory | string |
signupPolicyName | Signup Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
type | Identity Provider Type identifier. | 'aad' 'aadB2C' 'facebook' 'google' 'microsoft' 'twitter' |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Create an API Management instance and all sub resources using template |
This template demonstrates how to create a API Management service and configure sub-entities |
ARM template resource definition
The service/identityProviders resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ApiManagement/service/identityProviders resource, add the following JSON to your template.
{
"type": "Microsoft.ApiManagement/service/identityProviders",
"apiVersion": "2021-08-01",
"name": "string",
"properties": {
"allowedTenants": [ "string" ],
"authority": "string",
"clientId": "string",
"clientSecret": "string",
"passwordResetPolicyName": "string",
"profileEditingPolicyName": "string",
"signinPolicyName": "string",
"signinTenant": "string",
"signupPolicyName": "string",
"type": "string"
}
}
Property values
service/identityProviders
Name | Description | Value |
---|---|---|
type | The resource type | 'Microsoft.ApiManagement/service/identityProviders' |
apiVersion | The resource api version | '2021-08-01' |
name | The resource name See how to set names and types for child resources in JSON ARM templates. |
string (required) Character limit: 1-80 Valid characters: Alphanumerics and hyphens. Start with letter and end with alphanumeric. |
properties | Identity Provider contract properties. | IdentityProviderCreateContractPropertiesOrIdentityPr... |
IdentityProviderCreateContractPropertiesOrIdentityPr...
Name | Description | Value |
---|---|---|
allowedTenants | List of Allowed Tenants when configuring Azure Active Directory login. | string[] Constraints: Max length = 32 |
authority | OpenID Connect discovery endpoint hostname for AAD or AAD B2C. | string |
clientId | Client 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. | string (required) Constraints: Min length = 1 |
clientSecret | Client 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. | string (required) Constraints: Min length = 1 Sensitive value. Pass in as a secure parameter. |
passwordResetPolicyName | Password Reset Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
profileEditingPolicyName | Profile Editing Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
signinPolicyName | Signin Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
signinTenant | The TenantId to use instead of Common when logging into Active Directory | string |
signupPolicyName | Signup Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
type | Identity Provider Type identifier. | 'aad' 'aadB2C' 'facebook' 'google' 'microsoft' 'twitter' |
Quickstart templates
The following quickstart templates deploy this resource type.
Template | Description |
---|---|
Create an API Management instance and all sub resources using template |
This template demonstrates how to create a API Management service and configure sub-entities |
Terraform (AzAPI provider) resource definition
The service/identityProviders resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ApiManagement/service/identityProviders resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ApiManagement/service/identityProviders@2021-08-01"
name = "string"
parent_id = "string"
body = jsonencode({
properties = {
allowedTenants = [
"string"
]
authority = "string"
clientId = "string"
clientSecret = "string"
passwordResetPolicyName = "string"
profileEditingPolicyName = "string"
signinPolicyName = "string"
signinTenant = "string"
signupPolicyName = "string"
type = "string"
}
})
}
Property values
service/identityProviders
Name | Description | Value |
---|---|---|
type | The resource type | "Microsoft.ApiManagement/service/identityProviders@2021-08-01" |
name | The resource name | string (required) Character limit: 1-80 Valid characters: Alphanumerics and hyphens. Start with letter and end with alphanumeric. |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: service |
properties | Identity Provider contract properties. | IdentityProviderCreateContractPropertiesOrIdentityPr... |
IdentityProviderCreateContractPropertiesOrIdentityPr...
Name | Description | Value |
---|---|---|
allowedTenants | List of Allowed Tenants when configuring Azure Active Directory login. | string[] Constraints: Max length = 32 |
authority | OpenID Connect discovery endpoint hostname for AAD or AAD B2C. | string |
clientId | Client 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. | string (required) Constraints: Min length = 1 |
clientSecret | Client 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. | string (required) Constraints: Min length = 1 Sensitive value. Pass in as a secure parameter. |
passwordResetPolicyName | Password Reset Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
profileEditingPolicyName | Profile Editing Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
signinPolicyName | Signin Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
signinTenant | The TenantId to use instead of Common when logging into Active Directory | string |
signupPolicyName | Signup Policy Name. Only applies to AAD B2C Identity Provider. | string Constraints: Min length = 1 |
type | Identity Provider Type identifier. | "aad" "aadB2C" "facebook" "google" "microsoft" "twitter" |