TenantDefaultSupportedIdpConfigArgs

data class TenantDefaultSupportedIdpConfigArgs(val clientId: Output<String>? = null, val clientSecret: Output<String>? = null, val enabled: Output<Boolean>? = null, val idpId: Output<String>? = null, val project: Output<String>? = null, val tenant: Output<String>? = null) : ConvertibleToJava<TenantDefaultSupportedIdpConfigArgs>

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}}

Constructors

Link copied to clipboard
constructor(clientId: Output<String>? = null, clientSecret: Output<String>? = null, enabled: Output<Boolean>? = null, idpId: Output<String>? = null, project: Output<String>? = null, tenant: Output<String>? = null)

Properties

Link copied to clipboard
val clientId: Output<String>? = null

OAuth client ID

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

OAuth client secret

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

If this IDP allows the user to sign in

Link copied to clipboard
val idpId: Output<String>? = null

ID of the IDP. Possible values include:

Link copied to clipboard
val project: Output<String>? = null

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

Link copied to clipboard
val tenant: Output<String>? = null

The name of the tenant where this DefaultSupportedIdpConfig resource exists

Functions

Link copied to clipboard
open override fun toJava(): TenantDefaultSupportedIdpConfigArgs