TenantDefaultSupportedIdpConfig

Configurations options for the tenant for authenticating with a the standard set of Identity Toolkit-trusted IDPs. You must enable the Google Identity Platform in the marketplace prior to using this resource.

Example Usage

Identity Platform Tenant Default Supported Idp Config Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.identityplatform.Tenant;
import com.pulumi.gcp.identityplatform.TenantArgs;
import com.pulumi.gcp.identityplatform.TenantDefaultSupportedIdpConfig;
import com.pulumi.gcp.identityplatform.TenantDefaultSupportedIdpConfigArgs;
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 tenant = new Tenant("tenant", TenantArgs.builder()
.displayName("tenant")
.build());
var idpConfig = new TenantDefaultSupportedIdpConfig("idpConfig", TenantDefaultSupportedIdpConfigArgs.builder()
.enabled(true)
.tenant(tenant.name())
.idpId("playgames.google.com")
.clientId("my-client-id")
.clientSecret("secret")
.build());
}
}

Import

TenantDefaultSupportedIdpConfig can be imported using any of these accepted formats

$ pulumi import gcp:identityplatform/tenantDefaultSupportedIdpConfig:TenantDefaultSupportedIdpConfig default projects/{{project}}/tenants/{{tenant}}/defaultSupportedIdpConfigs/{{idp_id}}
$ pulumi import gcp:identityplatform/tenantDefaultSupportedIdpConfig:TenantDefaultSupportedIdpConfig default {{project}}/{{tenant}}/{{idp_id}}
$ pulumi import gcp:identityplatform/tenantDefaultSupportedIdpConfig:TenantDefaultSupportedIdpConfig default {{tenant}}/{{idp_id}}

Properties

Link copied to clipboard
val clientId: Output<String>

OAuth client ID

Link copied to clipboard
val clientSecret: Output<String>

OAuth client secret

Link copied to clipboard
val enabled: Output<Boolean>?

If this IDP allows the user to sign in

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

ID of the IDP. Possible values include:

Link copied to clipboard
val name: Output<String>

The name of the default supported IDP config resource

Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tenant: Output<String>

The name of the tenant where this DefaultSupportedIdpConfig resource exists

Link copied to clipboard
val urn: Output<String>