gcp.identityplatform.ProjectDefaultConfig
Explore with Pulumi AI
Warning:
gcp.identityplatform.Config
is deprecated and will be removed in the next major release of the provider. Use thegcp.identityplatform.Config
resource instead. It contains a more comprehensive list of fields, and was created beforegcp.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 setuser_project_override
to true in the provider configuration. Otherwise the ACM API will return a 403 error. Your account must have theserviceusage.services.use
permission on thebilling_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.
Constructor 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.
- Sign
In ProjectDefault Config Sign In - 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.
- Sign
In ProjectDefault Config Sign In Args - 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.
- sign
In ProjectDefault Config Sign In - 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.
- sign
In ProjectDefault Config Sign In - 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 ProjectDefault Config Sign In Args - 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.
- sign
In 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:
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.
- 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.
- Sign
In ProjectDefault Config Sign In - 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.
- Sign
In ProjectDefault Config Sign In Args - 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.
- sign
In ProjectDefault Config Sign In - 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.
- sign
In ProjectDefault Config Sign In - 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 ProjectDefault Config Sign In Args - 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.
- sign
In Property Map - Configuration related to local sign in methods. Structure is documented below.
Supporting Types
ProjectDefaultConfigSignIn, ProjectDefaultConfigSignInArgs
- Allow
Duplicate boolEmails - Whether to allow more than one account to have the same email.
- Anonymous
Project
Default Config Sign In Anonymous - Configuration options related to authenticating an anonymous user. Structure is documented below.
- Email
Project
Default Config Sign In Email - Configuration options related to authenticating a user by their email address. Structure is documented below.
- Hash
Configs List<ProjectDefault Config Sign In Hash Config> - (Output) Output only. Hash config information. Structure is documented below.
- Phone
Number ProjectDefault Config Sign In Phone Number - Configuration options related to authenticated a user by their phone number. Structure is documented below.
- Allow
Duplicate boolEmails - Whether to allow more than one account to have the same email.
- Anonymous
Project
Default Config Sign In Anonymous - Configuration options related to authenticating an anonymous user. Structure is documented below.
- Email
Project
Default Config Sign In Email - Configuration options related to authenticating a user by their email address. Structure is documented below.
- Hash
Configs []ProjectDefault Config Sign In Hash Config - (Output) Output only. Hash config information. Structure is documented below.
- Phone
Number ProjectDefault Config Sign In Phone Number - Configuration options related to authenticated a user by their phone number. Structure is documented below.
- allow
Duplicate BooleanEmails - Whether to allow more than one account to have the same email.
- anonymous
Project
Default Config Sign In Anonymous - Configuration options related to authenticating an anonymous user. Structure is documented below.
- email
Project
Default Config Sign In Email - Configuration options related to authenticating a user by their email address. Structure is documented below.
- hash
Configs List<ProjectDefault Config Sign In Hash Config> - (Output) Output only. Hash config information. Structure is documented below.
- phone
Number ProjectDefault Config Sign In Phone Number - Configuration options related to authenticated a user by their phone number. Structure is documented below.
- allow
Duplicate booleanEmails - Whether to allow more than one account to have the same email.
- anonymous
Project
Default Config Sign In Anonymous - Configuration options related to authenticating an anonymous user. Structure is documented below.
- email
Project
Default Config Sign In Email - Configuration options related to authenticating a user by their email address. Structure is documented below.
- hash
Configs ProjectDefault Config Sign In Hash Config[] - (Output) Output only. Hash config information. Structure is documented below.
- phone
Number ProjectDefault Config Sign In Phone Number - Configuration options related to authenticated a user by their phone number. Structure is documented below.
- allow_
duplicate_ boolemails - Whether to allow more than one account to have the same email.
- anonymous
Project
Default Config Sign In Anonymous - Configuration options related to authenticating an anonymous user. Structure is documented below.
- email
Project
Default Config Sign In Email - Configuration options related to authenticating a user by their email address. Structure is documented below.
- hash_
configs Sequence[ProjectDefault Config Sign In Hash Config] - (Output) Output only. Hash config information. Structure is documented below.
- phone_
number ProjectDefault Config Sign In Phone Number - Configuration options related to authenticated a user by their phone number. Structure is documented below.
- allow
Duplicate BooleanEmails - 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.
- hash
Configs List<Property Map> - (Output) Output only. Hash config information. Structure is documented below.
- phone
Number 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.
- 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 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.
- password
Required 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.
- password
Required 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.
- password
Required 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
- Different password hash algorithms used in Identity Toolkit.
- Memory
Cost int - 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
- How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
- Salt
Separator string - Non-printable character to be inserted between the salt and plain text password in base64.
- Signer
Key string - Signer key in base64.
- Algorithm string
- Different password hash algorithms used in Identity Toolkit.
- Memory
Cost int - 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
- How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
- Salt
Separator string - Non-printable character to be inserted between the salt and plain text password in base64.
- Signer
Key string - Signer key in base64.
- algorithm String
- Different password hash algorithms used in Identity Toolkit.
- memory
Cost Integer - 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
- How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
- salt
Separator String - Non-printable character to be inserted between the salt and plain text password in base64.
- signer
Key String - Signer key in base64.
- algorithm string
- Different password hash algorithms used in Identity Toolkit.
- memory
Cost number - 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
- How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
- salt
Separator string - Non-printable character to be inserted between the salt and plain text password in base64.
- signer
Key string - Signer key in base64.
- algorithm str
- Different password hash algorithms used in Identity Toolkit.
- memory_
cost int - 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
- How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
- salt_
separator str - Non-printable character to be inserted between the salt and plain text password in base64.
- signer_
key str - Signer key in base64.
- algorithm String
- Different password hash algorithms used in Identity Toolkit.
- memory
Cost Number - 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
- How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.
- salt
Separator String - Non-printable character to be inserted between the salt and plain text password in base64.
- signer
Key String - Signer key in base64.
ProjectDefaultConfigSignInPhoneNumber, ProjectDefaultConfigSignInPhoneNumberArgs
- Enabled bool
- Whether phone number auth is enabled for the project or not.
- Test
Phone Dictionary<string, string>Numbers - 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 map[string]stringNumbers - 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.
- test
Phone Map<String,String>Numbers - 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.
- test
Phone {[key: string]: string}Numbers - 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_ Mapping[str, str]numbers - 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.
- test
Phone Map<String>Numbers - 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.