1. Packages
  2. Google Cloud Native
  3. API Docs
  4. identitytoolkit
  5. identitytoolkit/v2
  6. DefaultSupportedIdpConfig

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.identitytoolkit/v2.DefaultSupportedIdpConfig

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Create a default supported Idp configuration for an Identity Toolkit project.

    Create DefaultSupportedIdpConfig Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DefaultSupportedIdpConfig(name: string, args: DefaultSupportedIdpConfigArgs, opts?: CustomResourceOptions);
    @overload
    def DefaultSupportedIdpConfig(resource_name: str,
                                  args: DefaultSupportedIdpConfigArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DefaultSupportedIdpConfig(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  tenant_id: Optional[str] = None,
                                  apple_sign_in_config: Optional[GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigArgs] = 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)
    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: google-native:identitytoolkit/v2:DefaultSupportedIdpConfig
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    var defaultSupportedIdpConfigResource = new GoogleNative.IdentityToolkit.V2.DefaultSupportedIdpConfig("defaultSupportedIdpConfigResource", new()
    {
        TenantId = "string",
        AppleSignInConfig = new GoogleNative.IdentityToolkit.V2.Inputs.GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigArgs
        {
            BundleIds = new[]
            {
                "string",
            },
            CodeFlowConfig = new GoogleNative.IdentityToolkit.V2.Inputs.GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigArgs
            {
                KeyId = "string",
                PrivateKey = "string",
                TeamId = "string",
            },
        },
        ClientId = "string",
        ClientSecret = "string",
        Enabled = false,
        IdpId = "string",
        Name = "string",
        Project = "string",
    });
    
    example, err := identitytoolkit.NewDefaultSupportedIdpConfig(ctx, "defaultSupportedIdpConfigResource", &identitytoolkit.DefaultSupportedIdpConfigArgs{
    TenantId: pulumi.String("string"),
    AppleSignInConfig: &identitytoolkit.GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigArgs{
    BundleIds: pulumi.StringArray{
    pulumi.String("string"),
    },
    CodeFlowConfig: &identitytoolkit.GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigArgs{
    KeyId: pulumi.String("string"),
    PrivateKey: pulumi.String("string"),
    TeamId: pulumi.String("string"),
    },
    },
    ClientId: pulumi.String("string"),
    ClientSecret: pulumi.String("string"),
    Enabled: pulumi.Bool(false),
    IdpId: pulumi.String("string"),
    Name: pulumi.String("string"),
    Project: pulumi.String("string"),
    })
    
    var defaultSupportedIdpConfigResource = new DefaultSupportedIdpConfig("defaultSupportedIdpConfigResource", DefaultSupportedIdpConfigArgs.builder()        
        .tenantId("string")
        .appleSignInConfig(GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigArgs.builder()
            .bundleIds("string")
            .codeFlowConfig(GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigArgs.builder()
                .keyId("string")
                .privateKey("string")
                .teamId("string")
                .build())
            .build())
        .clientId("string")
        .clientSecret("string")
        .enabled(false)
        .idpId("string")
        .name("string")
        .project("string")
        .build());
    
    default_supported_idp_config_resource = google_native.identitytoolkit.v2.DefaultSupportedIdpConfig("defaultSupportedIdpConfigResource",
        tenant_id="string",
        apple_sign_in_config=google_native.identitytoolkit.v2.GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigArgs(
            bundle_ids=["string"],
            code_flow_config=google_native.identitytoolkit.v2.GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigArgs(
                key_id="string",
                private_key="string",
                team_id="string",
            ),
        ),
        client_id="string",
        client_secret="string",
        enabled=False,
        idp_id="string",
        name="string",
        project="string")
    
    const defaultSupportedIdpConfigResource = new google_native.identitytoolkit.v2.DefaultSupportedIdpConfig("defaultSupportedIdpConfigResource", {
        tenantId: "string",
        appleSignInConfig: {
            bundleIds: ["string"],
            codeFlowConfig: {
                keyId: "string",
                privateKey: "string",
                teamId: "string",
            },
        },
        clientId: "string",
        clientSecret: "string",
        enabled: false,
        idpId: "string",
        name: "string",
        project: "string",
    });
    
    type: google-native:identitytoolkit/v2:DefaultSupportedIdpConfig
    properties:
        appleSignInConfig:
            bundleIds:
                - string
            codeFlowConfig:
                keyId: string
                privateKey: string
                teamId: string
        clientId: string
        clientSecret: string
        enabled: false
        idpId: string
        name: string
        project: string
        tenantId: string
    

    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:

    TenantId string
    AppleSignInConfig Pulumi.GoogleNative.IdentityToolkit.V2.Inputs.GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig
    Additional config for Apple-based projects.
    ClientId string
    OAuth client ID.
    ClientSecret string
    OAuth client secret.
    Enabled bool
    True if allows the user to sign in with the provider.
    IdpId string
    The id of the Idp to create a config for. Call ListDefaultSupportedIdps for list of all default supported Idps.
    Name string
    The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
    Project string
    TenantId string
    AppleSignInConfig GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigArgs
    Additional config for Apple-based projects.
    ClientId string
    OAuth client ID.
    ClientSecret string
    OAuth client secret.
    Enabled bool
    True if allows the user to sign in with the provider.
    IdpId string
    The id of the Idp to create a config for. Call ListDefaultSupportedIdps for list of all default supported Idps.
    Name string
    The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
    Project string
    tenantId String
    appleSignInConfig GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig
    Additional config for Apple-based projects.
    clientId String
    OAuth client ID.
    clientSecret String
    OAuth client secret.
    enabled Boolean
    True if allows the user to sign in with the provider.
    idpId String
    The id of the Idp to create a config for. Call ListDefaultSupportedIdps for list of all default supported Idps.
    name String
    The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
    project String
    tenantId string
    appleSignInConfig GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig
    Additional config for Apple-based projects.
    clientId string
    OAuth client ID.
    clientSecret string
    OAuth client secret.
    enabled boolean
    True if allows the user to sign in with the provider.
    idpId string
    The id of the Idp to create a config for. Call ListDefaultSupportedIdps for list of all default supported Idps.
    name string
    The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
    project string
    tenant_id str
    apple_sign_in_config GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigArgs
    Additional config for Apple-based projects.
    client_id str
    OAuth client ID.
    client_secret str
    OAuth client secret.
    enabled bool
    True if allows the user to sign in with the provider.
    idp_id str
    The id of the Idp to create a config for. Call ListDefaultSupportedIdps for list of all default supported Idps.
    name str
    The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
    project str
    tenantId String
    appleSignInConfig Property Map
    Additional config for Apple-based projects.
    clientId String
    OAuth client ID.
    clientSecret String
    OAuth client secret.
    enabled Boolean
    True if allows the user to sign in with the provider.
    idpId String
    The id of the Idp to create a config for. Call ListDefaultSupportedIdps for list of all default supported Idps.
    name String
    The name of the DefaultSupportedIdpConfig resource, for example: "projects/my-awesome-project/defaultSupportedIdpConfigs/google.com"
    project String

    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    GoogleCloudIdentitytoolkitAdminV2AppleSignInConfig, GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigArgs

    BundleIds []string
    A list of Bundle ID's usable by this project
    CodeFlowConfig GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig
    bundleIds List<String>
    A list of Bundle ID's usable by this project
    codeFlowConfig GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig
    bundleIds string[]
    A list of Bundle ID's usable by this project
    codeFlowConfig GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig
    bundle_ids Sequence[str]
    A list of Bundle ID's usable by this project
    code_flow_config GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig
    bundleIds List<String>
    A list of Bundle ID's usable by this project
    codeFlowConfig Property Map

    GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponse, GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponseArgs

    BundleIds []string
    A list of Bundle ID's usable by this project
    CodeFlowConfig GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponse
    bundleIds List<String>
    A list of Bundle ID's usable by this project
    codeFlowConfig GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponse
    bundleIds string[]
    A list of Bundle ID's usable by this project
    codeFlowConfig GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponse
    bundle_ids Sequence[str]
    A list of Bundle ID's usable by this project
    code_flow_config GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponse
    bundleIds List<String>
    A list of Bundle ID's usable by this project
    codeFlowConfig Property Map

    GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig, GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigArgs

    KeyId string
    Key ID for the private key.
    PrivateKey string
    Private key used for signing the client secret JWT.
    TeamId string
    Apple Developer Team ID.
    KeyId string
    Key ID for the private key.
    PrivateKey string
    Private key used for signing the client secret JWT.
    TeamId string
    Apple Developer Team ID.
    keyId String
    Key ID for the private key.
    privateKey String
    Private key used for signing the client secret JWT.
    teamId String
    Apple Developer Team ID.
    keyId string
    Key ID for the private key.
    privateKey string
    Private key used for signing the client secret JWT.
    teamId string
    Apple Developer Team ID.
    key_id str
    Key ID for the private key.
    private_key str
    Private key used for signing the client secret JWT.
    team_id str
    Apple Developer Team ID.
    keyId String
    Key ID for the private key.
    privateKey String
    Private key used for signing the client secret JWT.
    teamId String
    Apple Developer Team ID.

    GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponse, GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponseArgs

    KeyId string
    Key ID for the private key.
    PrivateKey string
    Private key used for signing the client secret JWT.
    TeamId string
    Apple Developer Team ID.
    KeyId string
    Key ID for the private key.
    PrivateKey string
    Private key used for signing the client secret JWT.
    TeamId string
    Apple Developer Team ID.
    keyId String
    Key ID for the private key.
    privateKey String
    Private key used for signing the client secret JWT.
    teamId String
    Apple Developer Team ID.
    keyId string
    Key ID for the private key.
    privateKey string
    Private key used for signing the client secret JWT.
    teamId string
    Apple Developer Team ID.
    key_id str
    Key ID for the private key.
    private_key str
    Private key used for signing the client secret JWT.
    team_id str
    Apple Developer Team ID.
    keyId String
    Key ID for the private key.
    privateKey String
    Private key used for signing the client secret JWT.
    teamId String
    Apple Developer Team ID.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi