TenantOauthIdpConfig

class TenantOauthIdpConfig : KotlinCustomResource

OIDC IdP configuration for a Identity Toolkit project within a tenant. You must enable the Google Identity Platform in the marketplace prior to using this resource.

Example Usage

Identity Platform Tenant Oauth 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.TenantOauthIdpConfig;
import com.pulumi.gcp.identityplatform.TenantOauthIdpConfigArgs;
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 tenantOauthIdpConfig = new TenantOauthIdpConfig("tenantOauthIdpConfig", TenantOauthIdpConfigArgs.builder()
.tenant(tenant.name())
.displayName("Display Name")
.clientId("client-id")
.issuer("issuer")
.enabled(true)
.clientSecret("secret")
.build());
}
}

Import

TenantOauthIdpConfig can be imported using any of these accepted formats

$ pulumi import gcp:identityplatform/tenantOauthIdpConfig:TenantOauthIdpConfig default projects/{{project}}/tenants/{{tenant}}/oauthIdpConfigs/{{name}}
$ pulumi import gcp:identityplatform/tenantOauthIdpConfig:TenantOauthIdpConfig default {{project}}/{{tenant}}/{{name}}
$ pulumi import gcp:identityplatform/tenantOauthIdpConfig:TenantOauthIdpConfig default {{tenant}}/{{name}}

Properties

Link copied to clipboard
val clientId: Output<String>

The client id of an OAuth client.

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

The client secret of the OAuth client, to enable OIDC code flow.

Link copied to clipboard
val displayName: Output<String>

Human friendly display name.

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

If this config allows users to sign in with the provider.

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

For OIDC Idps, the issuer identifier.

Link copied to clipboard
val name: Output<String>

The name of the OauthIdpConfig. Must start with oidc..

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
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val tenant: Output<String>

The name of the tenant where this OIDC IDP configuration resource exists

Link copied to clipboard
val urn: Output<String>