Google Cloud (GCP) Classic

Pulumi Official
Package maintained by Pulumi
v6.32.0 published on Wednesday, Jul 20, 2022 by Pulumi

DefaultSupportedIdpConfig

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

using Pulumi;
using Gcp = Pulumi.Gcp;

class MyStack : Stack
{
    public MyStack()
    {
        var idpConfig = new Gcp.IdentityPlatform.DefaultSupportedIdpConfig("idpConfig", new Gcp.IdentityPlatform.DefaultSupportedIdpConfigArgs
        {
            ClientId = "client-id",
            ClientSecret = "secret",
            Enabled = true,
            IdpId = "playgames.google.com",
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/identityplatform"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := identityplatform.NewDefaultSupportedIdpConfig(ctx, "idpConfig", &identityplatform.DefaultSupportedIdpConfigArgs{
			ClientId:     pulumi.String("client-id"),
			ClientSecret: pulumi.String("secret"),
			Enabled:      pulumi.Bool(true),
			IdpId:        pulumi.String("playgames.google.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;

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 pulumi
import pulumi_gcp as gcp

idp_config = gcp.identityplatform.DefaultSupportedIdpConfig("idpConfig",
    client_id="client-id",
    client_secret="secret",
    enabled=True,
    idp_id="playgames.google.com")
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const idpConfig = new gcp.identityplatform.DefaultSupportedIdpConfig("idp_config", {
    clientId: "client-id",
    clientSecret: "secret",
    enabled: true,
    idpId: "playgames.google.com",
});
resources:
  idpConfig:
    type: gcp:identityplatform:DefaultSupportedIdpConfig
    properties:
      clientId: client-id
      clientSecret: secret
      enabled: true
      idpId: playgames.google.com

Create a DefaultSupportedIdpConfig Resource

new DefaultSupportedIdpConfig(name: string, args: DefaultSupportedIdpConfigArgs, opts?: CustomResourceOptions);
@overload
def DefaultSupportedIdpConfig(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              client_id: Optional[str] = None,
                              client_secret: Optional[str] = None,
                              enabled: Optional[bool] = None,
                              idp_id: Optional[str] = None,
                              project: Optional[str] = None)
@overload
def DefaultSupportedIdpConfig(resource_name: str,
                              args: DefaultSupportedIdpConfigArgs,
                              opts: Optional[ResourceOptions] = None)
func NewDefaultSupportedIdpConfig(ctx *Context, name string, args DefaultSupportedIdpConfigArgs, opts ...ResourceOption) (*DefaultSupportedIdpConfig, error)
public DefaultSupportedIdpConfig(string name, DefaultSupportedIdpConfigArgs args, CustomResourceOptions? opts = null)
public DefaultSupportedIdpConfig(String name, DefaultSupportedIdpConfigArgs args)
public DefaultSupportedIdpConfig(String name, DefaultSupportedIdpConfigArgs args, CustomResourceOptions options)
type: gcp:identityplatform:DefaultSupportedIdpConfig
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args DefaultSupportedIdpConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args DefaultSupportedIdpConfigArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args DefaultSupportedIdpConfigArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args DefaultSupportedIdpConfigArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args DefaultSupportedIdpConfigArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DefaultSupportedIdpConfig Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The DefaultSupportedIdpConfig resource accepts the following input properties:

ClientId string

OAuth client ID

ClientSecret string

OAuth client secret

IdpId string

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
Enabled bool

If this IDP allows the user to sign in

Project string

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

ClientId string

OAuth client ID

ClientSecret string

OAuth client secret

IdpId string

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
Enabled bool

If this IDP allows the user to sign in

Project string

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

clientId String

OAuth client ID

clientSecret String

OAuth client secret

idpId String

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
enabled Boolean

If this IDP allows the user to sign in

project String

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

clientId string

OAuth client ID

clientSecret string

OAuth client secret

idpId string

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
enabled boolean

If this IDP allows the user to sign in

project string

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

client_id str

OAuth client ID

client_secret str

OAuth client secret

idp_id str

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
enabled bool

If this IDP allows the user to sign in

project str

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

clientId String

OAuth client ID

clientSecret String

OAuth client secret

idpId String

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
enabled Boolean

If this IDP allows the user to sign in

project String

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

Outputs

All input properties are implicitly available as output properties. Additionally, the DefaultSupportedIdpConfig resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the DefaultSupportedIdpConfig resource

Id string

The provider-assigned unique ID for this managed resource.

Name string

The name of the DefaultSupportedIdpConfig resource

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the DefaultSupportedIdpConfig resource

id string

The provider-assigned unique ID for this managed resource.

name string

The name of the DefaultSupportedIdpConfig resource

id str

The provider-assigned unique ID for this managed resource.

name str

The name of the DefaultSupportedIdpConfig resource

id String

The provider-assigned unique ID for this managed resource.

name String

The name of the DefaultSupportedIdpConfig resource

Look up an Existing DefaultSupportedIdpConfig Resource

Get an existing DefaultSupportedIdpConfig resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: DefaultSupportedIdpConfigState, opts?: CustomResourceOptions): DefaultSupportedIdpConfig
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        client_id: Optional[str] = None,
        client_secret: Optional[str] = None,
        enabled: Optional[bool] = None,
        idp_id: Optional[str] = None,
        name: Optional[str] = None,
        project: Optional[str] = None) -> DefaultSupportedIdpConfig
func GetDefaultSupportedIdpConfig(ctx *Context, name string, id IDInput, state *DefaultSupportedIdpConfigState, opts ...ResourceOption) (*DefaultSupportedIdpConfig, error)
public static DefaultSupportedIdpConfig Get(string name, Input<string> id, DefaultSupportedIdpConfigState? state, CustomResourceOptions? opts = null)
public static DefaultSupportedIdpConfig get(String name, Output<String> id, DefaultSupportedIdpConfigState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ClientId string

OAuth client ID

ClientSecret string

OAuth client secret

Enabled bool

If this IDP allows the user to sign in

IdpId string

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
Name string

The name of the DefaultSupportedIdpConfig resource

Project string

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

ClientId string

OAuth client ID

ClientSecret string

OAuth client secret

Enabled bool

If this IDP allows the user to sign in

IdpId string

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
Name string

The name of the DefaultSupportedIdpConfig resource

Project string

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

clientId String

OAuth client ID

clientSecret String

OAuth client secret

enabled Boolean

If this IDP allows the user to sign in

idpId String

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
name String

The name of the DefaultSupportedIdpConfig resource

project String

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

clientId string

OAuth client ID

clientSecret string

OAuth client secret

enabled boolean

If this IDP allows the user to sign in

idpId string

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
name string

The name of the DefaultSupportedIdpConfig resource

project string

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

client_id str

OAuth client ID

client_secret str

OAuth client secret

enabled bool

If this IDP allows the user to sign in

idp_id str

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
name str

The name of the DefaultSupportedIdpConfig resource

project str

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

clientId String

OAuth client ID

clientSecret String

OAuth client secret

enabled Boolean

If this IDP allows the user to sign in

idpId String

ID of the IDP. Possible values include:

  • apple.com
  • facebook.com
  • gc.apple.com
  • github.com
  • google.com
  • linkedin.com
  • microsoft.com
  • playgames.google.com
  • twitter.com
  • yahoo.com
name String

The name of the DefaultSupportedIdpConfig resource

project String

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

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

Package Details

Repository
https://github.com/pulumi/pulumi-gcp
License
Apache-2.0
Notes

This Pulumi package is based on the google-beta Terraform Provider.