OauthIdpConfig

class OauthIdpConfig : KotlinCustomResource

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

Example Usage

Identity Platform 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.OauthIdpConfig;
import com.pulumi.gcp.identityplatform.OauthIdpConfigArgs;
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 oauthIdpConfig = new OauthIdpConfig("oauthIdpConfig", OauthIdpConfigArgs.builder()
.clientId("client-id")
.clientSecret("secret")
.displayName("Display Name")
.enabled(true)
.issuer("issuer")
.build());
}
}

Import

OauthIdpConfig can be imported using any of these accepted formats

$ pulumi import gcp:identityplatform/oauthIdpConfig:OauthIdpConfig default projects/{{project}}/oauthIdpConfigs/{{name}}
$ pulumi import gcp:identityplatform/oauthIdpConfig:OauthIdpConfig default {{project}}/{{name}}
$ pulumi import gcp:identityplatform/oauthIdpConfig:OauthIdpConfig default {{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 urn: Output<String>