Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.identitytoolkit/v2.DefaultSupportedIdpConfig
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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.
Constructor 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={
"bundle_ids": ["string"],
"code_flow_config": {
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DefaultSupportedIdpConfig resource accepts the following input properties:
- Tenant
Id string - Apple
Sign Pulumi.In Config Google Native. Identity Toolkit. V2. Inputs. Google Cloud Identitytoolkit Admin V2Apple Sign In Config - Additional config for Apple-based projects.
- Client
Id string - OAuth client ID.
- Client
Secret string - OAuth client secret.
- Enabled bool
- True if allows the user to sign in with the provider.
- Idp
Id 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 string - Apple
Sign GoogleIn Config Cloud Identitytoolkit Admin V2Apple Sign In Config Args - Additional config for Apple-based projects.
- Client
Id string - OAuth client ID.
- Client
Secret string - OAuth client secret.
- Enabled bool
- True if allows the user to sign in with the provider.
- Idp
Id 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 String - apple
Sign GoogleIn Config Cloud Identitytoolkit Admin V2Apple Sign In Config - Additional config for Apple-based projects.
- client
Id String - OAuth client ID.
- client
Secret String - OAuth client secret.
- enabled Boolean
- True if allows the user to sign in with the provider.
- idp
Id 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 string - apple
Sign GoogleIn Config Cloud Identitytoolkit Admin V2Apple Sign In Config - Additional config for Apple-based projects.
- client
Id string - OAuth client ID.
- client
Secret string - OAuth client secret.
- enabled boolean
- True if allows the user to sign in with the provider.
- idp
Id 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_ Googlein_ config Cloud Identitytoolkit Admin V2Apple Sign In Config Args - 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
- tenant
Id String - apple
Sign Property MapIn Config - Additional config for Apple-based projects.
- client
Id String - OAuth client ID.
- client
Secret String - OAuth client secret.
- enabled Boolean
- True if allows the user to sign in with the provider.
- idp
Id 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
- Bundle
Ids List<string> - A list of Bundle ID's usable by this project
- Code
Flow Pulumi.Config Google Native. Identity Toolkit. V2. Inputs. Google Cloud Identitytoolkit Admin V2Code Flow Config
- Bundle
Ids []string - A list of Bundle ID's usable by this project
- Code
Flow GoogleConfig Cloud Identitytoolkit Admin V2Code Flow Config
- bundle
Ids List<String> - A list of Bundle ID's usable by this project
- code
Flow GoogleConfig Cloud Identitytoolkit Admin V2Code Flow Config
- bundle
Ids string[] - A list of Bundle ID's usable by this project
- code
Flow GoogleConfig Cloud Identitytoolkit Admin V2Code Flow Config
- bundle_
ids Sequence[str] - A list of Bundle ID's usable by this project
- code_
flow_ Googleconfig Cloud Identitytoolkit Admin V2Code Flow Config
- bundle
Ids List<String> - A list of Bundle ID's usable by this project
- code
Flow Property MapConfig
GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponse, GoogleCloudIdentitytoolkitAdminV2AppleSignInConfigResponseArgs
- Bundle
Ids List<string> - A list of Bundle ID's usable by this project
- Code
Flow Pulumi.Config Google Native. Identity Toolkit. V2. Inputs. Google Cloud Identitytoolkit Admin V2Code Flow Config Response
- Bundle
Ids []string - A list of Bundle ID's usable by this project
- Code
Flow GoogleConfig Cloud Identitytoolkit Admin V2Code Flow Config Response
- bundle
Ids List<String> - A list of Bundle ID's usable by this project
- code
Flow GoogleConfig Cloud Identitytoolkit Admin V2Code Flow Config Response
- bundle
Ids string[] - A list of Bundle ID's usable by this project
- code
Flow GoogleConfig Cloud Identitytoolkit Admin V2Code Flow Config Response
- bundle_
ids Sequence[str] - A list of Bundle ID's usable by this project
- code_
flow_ Googleconfig Cloud Identitytoolkit Admin V2Code Flow Config Response
- bundle
Ids List<String> - A list of Bundle ID's usable by this project
- code
Flow Property MapConfig
GoogleCloudIdentitytoolkitAdminV2CodeFlowConfig, GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigArgs
- Key
Id string - Key ID for the private key.
- Private
Key string - Private key used for signing the client secret JWT.
- Team
Id string - Apple Developer Team ID.
- Key
Id string - Key ID for the private key.
- Private
Key string - Private key used for signing the client secret JWT.
- Team
Id string - Apple Developer Team ID.
- key
Id String - Key ID for the private key.
- private
Key String - Private key used for signing the client secret JWT.
- team
Id String - Apple Developer Team ID.
- key
Id string - Key ID for the private key.
- private
Key string - Private key used for signing the client secret JWT.
- team
Id 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.
- key
Id String - Key ID for the private key.
- private
Key String - Private key used for signing the client secret JWT.
- team
Id String - Apple Developer Team ID.
GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponse, GoogleCloudIdentitytoolkitAdminV2CodeFlowConfigResponseArgs
- Key
Id string - Key ID for the private key.
- Private
Key string - Private key used for signing the client secret JWT.
- Team
Id string - Apple Developer Team ID.
- Key
Id string - Key ID for the private key.
- Private
Key string - Private key used for signing the client secret JWT.
- Team
Id string - Apple Developer Team ID.
- key
Id String - Key ID for the private key.
- private
Key String - Private key used for signing the client secret JWT.
- team
Id String - Apple Developer Team ID.
- key
Id string - Key ID for the private key.
- private
Key string - Private key used for signing the client secret JWT.
- team
Id 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.
- key
Id String - Key ID for the private key.
- private
Key String - Private key used for signing the client secret JWT.
- team
Id String - Apple Developer Team ID.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.