DefaultSupportedIdpConfigArgs

data class DefaultSupportedIdpConfigArgs(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) : ConvertibleToJava<DefaultSupportedIdpConfigArgs>

Configurations options 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 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.DefaultSupportedIdpConfig;
import com.pulumi.gcp.identityplatform.DefaultSupportedIdpConfigArgs;
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 idpConfig = new DefaultSupportedIdpConfig("idpConfig", DefaultSupportedIdpConfigArgs.builder()
.clientId("client-id")
.clientSecret("secret")
.enabled(true)
.idpId("playgames.google.com")
.build());
}
}

Import

DefaultSupportedIdpConfig can be imported using any of these accepted formats

$ pulumi import gcp:identityplatform/defaultSupportedIdpConfig:DefaultSupportedIdpConfig default projects/{{project}}/defaultSupportedIdpConfigs/{{idp_id}}
$ pulumi import gcp:identityplatform/defaultSupportedIdpConfig:DefaultSupportedIdpConfig default {{project}}/{{idp_id}}
$ pulumi import gcp:identityplatform/defaultSupportedIdpConfig:DefaultSupportedIdpConfig default {{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)

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.

Functions

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