1. Packages
  2. Google Cloud (GCP) Classic
  3. API Docs
  4. identityplatform
  5. ProjectDefaultConfig
Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi

gcp.identityplatform.ProjectDefaultConfig

Explore with Pulumi AI

gcp logo
Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi

    Warning: gcp.identityplatform.Config is deprecated and will be removed in the next major release of the provider. Use the gcp.identityplatform.Config resource instead. It contains a more comprehensive list of fields, and was created before gcp.identityplatform.ProjectDefaultConfig was added.

    There is no persistent data associated with this resource.

    Warning: If you are using User ADCs (Application Default Credentials) with this resource, you must specify a billing_project and set user_project_override to true in the provider configuration. Otherwise the ACM API will return a 403 error. Your account must have the serviceusage.services.use permission on the billing_project you defined.

    Example Usage

    Identity Platform Project Default Config

    import * as pulumi from "@pulumi/pulumi";
    import * as gcp from "@pulumi/gcp";
    
    const _default = new gcp.identityplatform.ProjectDefaultConfig("default", {signIn: {
        allowDuplicateEmails: true,
        anonymous: {
            enabled: true,
        },
        email: {
            enabled: true,
            passwordRequired: false,
        },
        phoneNumber: {
            enabled: true,
            testPhoneNumbers: {
                "+11231231234": "000000",
            },
        },
    }});
    
    import pulumi
    import pulumi_gcp as gcp
    
    default = gcp.identityplatform.ProjectDefaultConfig("default", sign_in=gcp.identityplatform.ProjectDefaultConfigSignInArgs(
        allow_duplicate_emails=True,
        anonymous=gcp.identityplatform.ProjectDefaultConfigSignInAnonymousArgs(
            enabled=True,
        ),
        email=gcp.identityplatform.ProjectDefaultConfigSignInEmailArgs(
            enabled=True,
            password_required=False,
        ),
        phone_number=gcp.identityplatform.ProjectDefaultConfigSignInPhoneNumberArgs(
            enabled=True,
            test_phone_numbers={
                "+11231231234": "000000",
            },
        ),
    ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/identityplatform"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := identityplatform.NewProjectDefaultConfig(ctx, "default", &identityplatform.ProjectDefaultConfigArgs{
    			SignIn: &identityplatform.ProjectDefaultConfigSignInArgs{
    				AllowDuplicateEmails: pulumi.Bool(true),
    				Anonymous: &identityplatform.ProjectDefaultConfigSignInAnonymousArgs{
    					Enabled: pulumi.Bool(true),
    				},
    				Email: &identityplatform.ProjectDefaultConfigSignInEmailArgs{
    					Enabled:          pulumi.Bool(true),
    					PasswordRequired: pulumi.Bool(false),
    				},
    				PhoneNumber: &identityplatform.ProjectDefaultConfigSignInPhoneNumberArgs{
    					Enabled: pulumi.Bool(true),
    					TestPhoneNumbers: pulumi.StringMap{
    						"+11231231234": pulumi.String("000000"),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Gcp = Pulumi.Gcp;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = new Gcp.IdentityPlatform.ProjectDefaultConfig("default", new()
        {
            SignIn = new Gcp.IdentityPlatform.Inputs.ProjectDefaultConfigSignInArgs
            {
                AllowDuplicateEmails = true,
                Anonymous = new Gcp.IdentityPlatform.Inputs.ProjectDefaultConfigSignInAnonymousArgs
                {
                    Enabled = true,
                },
                Email = new Gcp.IdentityPlatform.Inputs.ProjectDefaultConfigSignInEmailArgs
                {
                    Enabled = true,
                    PasswordRequired = false,
                },
                PhoneNumber = new Gcp.IdentityPlatform.Inputs.ProjectDefaultConfigSignInPhoneNumberArgs
                {
                    Enabled = true,
                    TestPhoneNumbers = 
                    {
                        { "+11231231234", "000000" },
                    },
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.gcp.identityplatform.ProjectDefaultConfig;
    import com.pulumi.gcp.identityplatform.ProjectDefaultConfigArgs;
    import com.pulumi.gcp.identityplatform.inputs.ProjectDefaultConfigSignInArgs;
    import com.pulumi.gcp.identityplatform.inputs.ProjectDefaultConfigSignInAnonymousArgs;
    import com.pulumi.gcp.identityplatform.inputs.ProjectDefaultConfigSignInEmailArgs;
    import com.pulumi.gcp.identityplatform.inputs.ProjectDefaultConfigSignInPhoneNumberArgs;
    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 default_ = new ProjectDefaultConfig("default", ProjectDefaultConfigArgs.builder()        
                .signIn(ProjectDefaultConfigSignInArgs.builder()
                    .allowDuplicateEmails(true)
                    .anonymous(ProjectDefaultConfigSignInAnonymousArgs.builder()
                        .enabled(true)
                        .build())
                    .email(ProjectDefaultConfigSignInEmailArgs.builder()
                        .enabled(true)
                        .passwordRequired(false)
                        .build())
                    .phoneNumber(ProjectDefaultConfigSignInPhoneNumberArgs.builder()
                        .enabled(true)
                        .testPhoneNumbers(Map.of("+11231231234", "000000"))
                        .build())
                    .build())
                .build());
    
        }
    }
    
    resources:
      default:
        type: gcp:identityplatform:ProjectDefaultConfig
        properties:
          signIn:
            allowDuplicateEmails: true
            anonymous:
              enabled: true
            email:
              enabled: true
              passwordRequired: false
            phoneNumber:
              enabled: true
              testPhoneNumbers:
                '+11231231234': '000000'
    

    Create ProjectDefaultConfig Resource

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

    Constructor syntax

    new ProjectDefaultConfig(name: string, args?: ProjectDefaultConfigArgs, opts?: CustomResourceOptions);
    @overload
    def ProjectDefaultConfig(resource_name: str,
                             args: Optional[ProjectDefaultConfigArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def ProjectDefaultConfig(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             project: Optional[str] = None,
                             sign_in: Optional[ProjectDefaultConfigSignInArgs] = None)
    func NewProjectDefaultConfig(ctx *Context, name string, args *ProjectDefaultConfigArgs, opts ...ResourceOption) (*ProjectDefaultConfig, error)
    public ProjectDefaultConfig(string name, ProjectDefaultConfigArgs? args = null, CustomResourceOptions? opts = null)
    public ProjectDefaultConfig(String name, ProjectDefaultConfigArgs args)
    public ProjectDefaultConfig(String name, ProjectDefaultConfigArgs args, CustomResourceOptions options)
    
    type: gcp:identityplatform:ProjectDefaultConfig
    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 ProjectDefaultConfigArgs
    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 ProjectDefaultConfigArgs
    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 ProjectDefaultConfigArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ProjectDefaultConfigArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ProjectDefaultConfigArgs
    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 projectDefaultConfigResource = new Gcp.IdentityPlatform.ProjectDefaultConfig("projectDefaultConfigResource", new()
    {
        Project = "string",
        SignIn = new Gcp.IdentityPlatform.Inputs.ProjectDefaultConfigSignInArgs
        {
            AllowDuplicateEmails = false,
            Anonymous = new Gcp.IdentityPlatform.Inputs.ProjectDefaultConfigSignInAnonymousArgs
            {
                Enabled = false,
            },
            Email = new Gcp.IdentityPlatform.Inputs.ProjectDefaultConfigSignInEmailArgs
            {
                Enabled = false,
                PasswordRequired = false,
            },
            HashConfigs = new[]
            {
                new Gcp.IdentityPlatform.Inputs.ProjectDefaultConfigSignInHashConfigArgs
                {
                    Algorithm = "string",
                    MemoryCost = 0,
                    Rounds = 0,
                    SaltSeparator = "string",
                    SignerKey = "string",
                },
            },
            PhoneNumber = new Gcp.IdentityPlatform.Inputs.ProjectDefaultConfigSignInPhoneNumberArgs
            {
                Enabled = false,
                TestPhoneNumbers = 
                {
                    { "string", "string" },
                },
            },
        },
    });
    
    example, err := identityplatform.NewProjectDefaultConfig(ctx, "projectDefaultConfigResource", &identityplatform.ProjectDefaultConfigArgs{
    	Project: pulumi.String("string"),
    	SignIn: &identityplatform.ProjectDefaultConfigSignInArgs{
    		AllowDuplicateEmails: pulumi.Bool(false),
    		Anonymous: &identityplatform.ProjectDefaultConfigSignInAnonymousArgs{
    			Enabled: pulumi.Bool(false),
    		},
    		Email: &identityplatform.ProjectDefaultConfigSignInEmailArgs{
    			Enabled:          pulumi.Bool(false),
    			PasswordRequired: pulumi.Bool(false),
    		},
    		HashConfigs: identityplatform.ProjectDefaultConfigSignInHashConfigArray{
    			&identityplatform.ProjectDefaultConfigSignInHashConfigArgs{
    				Algorithm:     pulumi.String("string"),
    				MemoryCost:    pulumi.Int(0),
    				Rounds:        pulumi.Int(0),
    				SaltSeparator: pulumi.String("string"),
    				SignerKey:     pulumi.String("string"),
    			},
    		},
    		PhoneNumber: &identityplatform.ProjectDefaultConfigSignInPhoneNumberArgs{
    			Enabled: pulumi.Bool(false),
    			TestPhoneNumbers: pulumi.StringMap{
    				"string": pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var projectDefaultConfigResource = new ProjectDefaultConfig("projectDefaultConfigResource", ProjectDefaultConfigArgs.builder()        
        .project("string")
        .signIn(ProjectDefaultConfigSignInArgs.builder()
            .allowDuplicateEmails(false)
            .anonymous(ProjectDefaultConfigSignInAnonymousArgs.builder()
                .enabled(false)
                .build())
            .email(ProjectDefaultConfigSignInEmailArgs.builder()
                .enabled(false)
                .passwordRequired(false)
                .build())
            .hashConfigs(ProjectDefaultConfigSignInHashConfigArgs.builder()
                .algorithm("string")
                .memoryCost(0)
                .rounds(0)
                .saltSeparator("string")
                .signerKey("string")
                .build())
            .phoneNumber(ProjectDefaultConfigSignInPhoneNumberArgs.builder()
                .enabled(false)
                .testPhoneNumbers(Map.of("string", "string"))
                .build())
            .build())
        .build());
    
    project_default_config_resource = gcp.identityplatform.ProjectDefaultConfig("projectDefaultConfigResource",
        project="string",
        sign_in=gcp.identityplatform.ProjectDefaultConfigSignInArgs(
            allow_duplicate_emails=False,
            anonymous=gcp.identityplatform.ProjectDefaultConfigSignInAnonymousArgs(
                enabled=False,
            ),
            email=gcp.identityplatform.ProjectDefaultConfigSignInEmailArgs(
                enabled=False,
                password_required=False,
            ),
            hash_configs=[gcp.identityplatform.ProjectDefaultConfigSignInHashConfigArgs(
                algorithm="string",
                memory_cost=0,
                rounds=0,
                salt_separator="string",
                signer_key="string",
            )],
            phone_number=gcp.identityplatform.ProjectDefaultConfigSignInPhoneNumberArgs(
                enabled=False,
                test_phone_numbers={
                    "string": "string",
                },
            ),
        ))
    
    const projectDefaultConfigResource = new gcp.identityplatform.ProjectDefaultConfig("projectDefaultConfigResource", {
        project: "string",
        signIn: {
            allowDuplicateEmails: false,
            anonymous: {
                enabled: false,
            },
            email: {
                enabled: false,
                passwordRequired: false,
            },
            hashConfigs: [{
                algorithm: "string",
                memoryCost: 0,
                rounds: 0,
                saltSeparator: "string",
                signerKey: "string",
            }],
            phoneNumber: {
                enabled: false,
                testPhoneNumbers: {
                    string: "string",
                },
            },
        },
    });
    
    type: gcp:identityplatform:ProjectDefaultConfig
    properties:
        project: string
        signIn:
            allowDuplicateEmails: false
            anonymous:
                enabled: false
            email:
                enabled: false
                passwordRequired: false
            hashConfigs:
                - algorithm: string
                  memoryCost: 0
                  rounds: 0
                  saltSeparator: string
                  signerKey: string
            phoneNumber:
                enabled: false
                testPhoneNumbers:
                    string: string
    

    ProjectDefaultConfig 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 ProjectDefaultConfig resource accepts the following input properties:

    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SignIn ProjectDefaultConfigSignIn
    Configuration related to local sign in methods. Structure is documented below.
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SignIn ProjectDefaultConfigSignInArgs
    Configuration related to local sign in methods. Structure is documented below.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    signIn ProjectDefaultConfigSignIn
    Configuration related to local sign in methods. Structure is documented below.
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    signIn ProjectDefaultConfigSignIn
    Configuration related to local sign in methods. Structure is documented below.
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    sign_in ProjectDefaultConfigSignInArgs
    Configuration related to local sign in methods. Structure is documented below.
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    signIn Property Map
    Configuration related to local sign in methods. Structure is documented below.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the Config resource. Example: "projects/my-awesome-project/config"
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the Config resource. Example: "projects/my-awesome-project/config"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the Config resource. Example: "projects/my-awesome-project/config"
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the Config resource. Example: "projects/my-awesome-project/config"
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the Config resource. Example: "projects/my-awesome-project/config"
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the Config resource. Example: "projects/my-awesome-project/config"

    Look up Existing ProjectDefaultConfig Resource

    Get an existing ProjectDefaultConfig 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?: ProjectDefaultConfigState, opts?: CustomResourceOptions): ProjectDefaultConfig
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            sign_in: Optional[ProjectDefaultConfigSignInArgs] = None) -> ProjectDefaultConfig
    func GetProjectDefaultConfig(ctx *Context, name string, id IDInput, state *ProjectDefaultConfigState, opts ...ResourceOption) (*ProjectDefaultConfig, error)
    public static ProjectDefaultConfig Get(string name, Input<string> id, ProjectDefaultConfigState? state, CustomResourceOptions? opts = null)
    public static ProjectDefaultConfig get(String name, Output<String> id, ProjectDefaultConfigState 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:
    Name string
    The name of the Config resource. Example: "projects/my-awesome-project/config"
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SignIn ProjectDefaultConfigSignIn
    Configuration related to local sign in methods. Structure is documented below.
    Name string
    The name of the Config resource. Example: "projects/my-awesome-project/config"
    Project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    SignIn ProjectDefaultConfigSignInArgs
    Configuration related to local sign in methods. Structure is documented below.
    name String
    The name of the Config resource. Example: "projects/my-awesome-project/config"
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    signIn ProjectDefaultConfigSignIn
    Configuration related to local sign in methods. Structure is documented below.
    name string
    The name of the Config resource. Example: "projects/my-awesome-project/config"
    project string
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    signIn ProjectDefaultConfigSignIn
    Configuration related to local sign in methods. Structure is documented below.
    name str
    The name of the Config resource. Example: "projects/my-awesome-project/config"
    project str
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    sign_in ProjectDefaultConfigSignInArgs
    Configuration related to local sign in methods. Structure is documented below.
    name String
    The name of the Config resource. Example: "projects/my-awesome-project/config"
    project String
    The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
    signIn Property Map
    Configuration related to local sign in methods. Structure is documented below.

    Supporting Types

    ProjectDefaultConfigSignIn, ProjectDefaultConfigSignInArgs

    AllowDuplicateEmails bool
    Whether to allow more than one account to have the same email.
    Anonymous ProjectDefaultConfigSignInAnonymous
    Configuration options related to authenticating an anonymous user. Structure is documented below.
    Email ProjectDefaultConfigSignInEmail
    Configuration options related to authenticating a user by their email address. Structure is documented below.
    HashConfigs List<ProjectDefaultConfigSignInHashConfig>
    (Output) Output only. Hash config information. Structure is documented below.
    PhoneNumber ProjectDefaultConfigSignInPhoneNumber
    Configuration options related to authenticated a user by their phone number. Structure is documented below.
    AllowDuplicateEmails bool
    Whether to allow more than one account to have the same email.
    Anonymous ProjectDefaultConfigSignInAnonymous
    Configuration options related to authenticating an anonymous user. Structure is documented below.
    Email ProjectDefaultConfigSignInEmail
    Configuration options related to authenticating a user by their email address. Structure is documented below.
    HashConfigs []ProjectDefaultConfigSignInHashConfig
    (Output) Output only. Hash config information. Structure is documented below.
    PhoneNumber ProjectDefaultConfigSignInPhoneNumber
    Configuration options related to authenticated a user by their phone number. Structure is documented below.
    allowDuplicateEmails Boolean
    Whether to allow more than one account to have the same email.
    anonymous ProjectDefaultConfigSignInAnonymous
    Configuration options related to authenticating an anonymous user. Structure is documented below.
    email ProjectDefaultConfigSignInEmail
    Configuration options related to authenticating a user by their email address. Structure is documented below.
    hashConfigs List<ProjectDefaultConfigSignInHashConfig>
    (Output) Output only. Hash config information. Structure is documented below.
    phoneNumber ProjectDefaultConfigSignInPhoneNumber
    Configuration options related to authenticated a user by their phone number. Structure is documented below.
    allowDuplicateEmails boolean
    Whether to allow more than one account to have the same email.
    anonymous ProjectDefaultConfigSignInAnonymous
    Configuration options related to authenticating an anonymous user. Structure is documented below.
    email ProjectDefaultConfigSignInEmail
    Configuration options related to authenticating a user by their email address. Structure is documented below.
    hashConfigs ProjectDefaultConfigSignInHashConfig[]
    (Output) Output only. Hash config information. Structure is documented below.
    phoneNumber ProjectDefaultConfigSignInPhoneNumber
    Configuration options related to authenticated a user by their phone number. Structure is documented below.
    allow_duplicate_emails bool
    Whether to allow more than one account to have the same email.
    anonymous ProjectDefaultConfigSignInAnonymous
    Configuration options related to authenticating an anonymous user. Structure is documented below.
    email ProjectDefaultConfigSignInEmail
    Configuration options related to authenticating a user by their email address. Structure is documented below.
    hash_configs Sequence[ProjectDefaultConfigSignInHashConfig]
    (Output) Output only. Hash config information. Structure is documented below.
    phone_number ProjectDefaultConfigSignInPhoneNumber
    Configuration options related to authenticated a user by their phone number. Structure is documented below.
    allowDuplicateEmails Boolean
    Whether to allow more than one account to have the same email.
    anonymous Property Map
    Configuration options related to authenticating an anonymous user. Structure is documented below.
    email Property Map
    Configuration options related to authenticating a user by their email address. Structure is documented below.
    hashConfigs List<Property Map>
    (Output) Output only. Hash config information. Structure is documented below.
    phoneNumber Property Map
    Configuration options related to authenticated a user by their phone number. Structure is documented below.

    ProjectDefaultConfigSignInAnonymous, ProjectDefaultConfigSignInAnonymousArgs

    Enabled bool

    Whether anonymous user auth is enabled for the project or not.

    The hash_config block contains:

    Enabled bool

    Whether anonymous user auth is enabled for the project or not.

    The hash_config block contains:

    enabled Boolean

    Whether anonymous user auth is enabled for the project or not.

    The hash_config block contains:

    enabled boolean

    Whether anonymous user auth is enabled for the project or not.

    The hash_config block contains:

    enabled bool

    Whether anonymous user auth is enabled for the project or not.

    The hash_config block contains:

    enabled Boolean

    Whether anonymous user auth is enabled for the project or not.

    The hash_config block contains:

    ProjectDefaultConfigSignInEmail, ProjectDefaultConfigSignInEmailArgs

    Enabled bool
    Whether email auth is enabled for the project or not.
    PasswordRequired bool
    Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link.
    Enabled bool
    Whether email auth is enabled for the project or not.
    PasswordRequired bool
    Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link.
    enabled Boolean
    Whether email auth is enabled for the project or not.
    passwordRequired Boolean
    Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link.
    enabled boolean
    Whether email auth is enabled for the project or not.
    passwordRequired boolean
    Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link.
    enabled bool
    Whether email auth is enabled for the project or not.
    password_required bool
    Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link.
    enabled Boolean
    Whether email auth is enabled for the project or not.
    passwordRequired Boolean
    Whether a password is required for email auth or not. If true, both an email and password must be provided to sign in. If false, a user may sign in via either email/password or email link.

    ProjectDefaultConfigSignInHashConfig, ProjectDefaultConfigSignInHashConfigArgs

    Algorithm string
    (Output) Different password hash algorithms used in Identity Toolkit.
    MemoryCost int
    (Output) Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
    Rounds int
    (Output) How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
    SaltSeparator string
    (Output) Non-printable character to be inserted between the salt and plain text password in base64.
    SignerKey string
    (Output) Signer key in base64.
    Algorithm string
    (Output) Different password hash algorithms used in Identity Toolkit.
    MemoryCost int
    (Output) Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
    Rounds int
    (Output) How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
    SaltSeparator string
    (Output) Non-printable character to be inserted between the salt and plain text password in base64.
    SignerKey string
    (Output) Signer key in base64.
    algorithm String
    (Output) Different password hash algorithms used in Identity Toolkit.
    memoryCost Integer
    (Output) Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
    rounds Integer
    (Output) How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
    saltSeparator String
    (Output) Non-printable character to be inserted between the salt and plain text password in base64.
    signerKey String
    (Output) Signer key in base64.
    algorithm string
    (Output) Different password hash algorithms used in Identity Toolkit.
    memoryCost number
    (Output) Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
    rounds number
    (Output) How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
    saltSeparator string
    (Output) Non-printable character to be inserted between the salt and plain text password in base64.
    signerKey string
    (Output) Signer key in base64.
    algorithm str
    (Output) Different password hash algorithms used in Identity Toolkit.
    memory_cost int
    (Output) Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
    rounds int
    (Output) How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
    salt_separator str
    (Output) Non-printable character to be inserted between the salt and plain text password in base64.
    signer_key str
    (Output) Signer key in base64.
    algorithm String
    (Output) Different password hash algorithms used in Identity Toolkit.
    memoryCost Number
    (Output) Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.
    rounds Number
    (Output) How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
    saltSeparator String
    (Output) Non-printable character to be inserted between the salt and plain text password in base64.
    signerKey String
    (Output) Signer key in base64.

    ProjectDefaultConfigSignInPhoneNumber, ProjectDefaultConfigSignInPhoneNumberArgs

    Enabled bool
    Whether phone number auth is enabled for the project or not.
    TestPhoneNumbers Dictionary<string, string>
    A map of <test phone number, fake code> that can be used for phone auth testing.
    Enabled bool
    Whether phone number auth is enabled for the project or not.
    TestPhoneNumbers map[string]string
    A map of <test phone number, fake code> that can be used for phone auth testing.
    enabled Boolean
    Whether phone number auth is enabled for the project or not.
    testPhoneNumbers Map<String,String>
    A map of <test phone number, fake code> that can be used for phone auth testing.
    enabled boolean
    Whether phone number auth is enabled for the project or not.
    testPhoneNumbers {[key: string]: string}
    A map of <test phone number, fake code> that can be used for phone auth testing.
    enabled bool
    Whether phone number auth is enabled for the project or not.
    test_phone_numbers Mapping[str, str]
    A map of <test phone number, fake code> that can be used for phone auth testing.
    enabled Boolean
    Whether phone number auth is enabled for the project or not.
    testPhoneNumbers Map<String>
    A map of <test phone number, fake code> that can be used for phone auth testing.

    Import

    ProjectDefaultConfig can be imported using any of these accepted formats:

    • projects/{{project}}/config/{{name}}

    • {{project}}/{{name}}

    • {{name}}

    When using the pulumi import command, ProjectDefaultConfig can be imported using one of the formats above. For example:

    $ pulumi import gcp:identityplatform/projectDefaultConfig:ProjectDefaultConfig default projects/{{project}}/config/{{name}}
    
    $ pulumi import gcp:identityplatform/projectDefaultConfig:ProjectDefaultConfig default {{project}}/{{name}}
    
    $ pulumi import gcp:identityplatform/projectDefaultConfig:ProjectDefaultConfig default {{name}}
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Google Cloud (GCP) Classic pulumi/pulumi-gcp
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the google-beta Terraform Provider.
    gcp logo
    Google Cloud Classic v7.19.0 published on Thursday, Apr 18, 2024 by Pulumi