IdentityProvider

class IdentityProvider : KotlinCustomResource

Identity Provider details. API Version: 2020-12-01.

Example Usage

ApiManagementCreateIdentityProvider

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var identityProvider = new AzureNative.ApiManagement.IdentityProvider("identityProvider", new()
{
ClientId = "facebookid",
ClientSecret = "facebookapplicationsecret",
IdentityProviderName = "facebook",
ResourceGroupName = "rg1",
ServiceName = "apimService1",
});
});
package main
import (
apimanagement "github.com/pulumi/pulumi-azure-native-sdk/apimanagement"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := apimanagement.NewIdentityProvider(ctx, "identityProvider", &apimanagement.IdentityProviderArgs{
ClientId: pulumi.String("facebookid"),
ClientSecret: pulumi.String("facebookapplicationsecret"),
IdentityProviderName: pulumi.String("facebook"),
ResourceGroupName: pulumi.String("rg1"),
ServiceName: pulumi.String("apimService1"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.apimanagement.IdentityProvider;
import com.pulumi.azurenative.apimanagement.IdentityProviderArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var identityProvider = new IdentityProvider("identityProvider", IdentityProviderArgs.builder()
.clientId("facebookid")
.clientSecret("facebookapplicationsecret")
.identityProviderName("facebook")
.resourceGroupName("rg1")
.serviceName("apimService1")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:apimanagement:IdentityProvider Facebook /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/identityProviders/Facebook

Properties

Link copied to clipboard
val allowedTenants: Output<List<String>>?

List of Allowed Tenants when configuring Azure Active Directory login.

Link copied to clipboard
val authority: Output<String>?

OpenID Connect discovery endpoint hostname for AAD or AAD B2C.

Link copied to clipboard
val clientId: Output<String>

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.

Link copied to clipboard
val clientSecret: Output<String>?

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.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

Resource name.

Link copied to clipboard

Password Reset Policy Name. Only applies to AAD B2C Identity Provider.

Link copied to clipboard

Profile Editing Policy Name. Only applies to AAD B2C Identity Provider.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val signinPolicyName: Output<String>?

Signin Policy Name. Only applies to AAD B2C Identity Provider.

Link copied to clipboard
val signinTenant: Output<String>?

The TenantId to use instead of Common when logging into Active Directory

Link copied to clipboard
val signupPolicyName: Output<String>?

Signup Policy Name. Only applies to AAD B2C Identity Provider.

Link copied to clipboard
val type: Output<String>

Resource type for API Management resource.

Link copied to clipboard
val urn: Output<String>