googleIdentityPlatformTenantDefaultSupportedIdpConfig
Configurations options for the tenant for authenticating with a the standard set of Identity Toolkit-trusted IDPs.
You must enable the Google Identity Platform in the marketplace prior to using this resource.
Example Usage - Identity Platform Tenant Default Supported Idp Config Basic
/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as google from "./.gen/providers/google";
/*The following providers are missing schema information and might need manual adjustments to synthesize correctly: google.
For a more precise conversion please use the --provider flag in convert.*/
const googleIdentityPlatformTenantTenant =
new google.identityPlatformTenant.IdentityPlatformTenant(this, "tenant", {
display_name: "tenant",
});
new google.identityPlatformTenantDefaultSupportedIdpConfig.IdentityPlatformTenantDefaultSupportedIdpConfig(
this,
"idp_config",
{
client_id: "my-client-id",
client_secret: "secret",
enabled: true,
idp_id: "playgames.google.com",
tenant: googleIdentityPlatformTenantTenant.name,
}
);
Argument Reference
The following arguments are supported:
-
idpId
- (Required) ID of the IDP. Possible values include:appleCom
facebookCom
gcAppleCom
githubCom
googleCom
linkedinCom
microsoftCom
playgamesGoogleCom
twitterCom
yahooCom
-
tenant
- (Required) The name of the tenant where this DefaultSupportedIdpConfig resource exists -
clientId
- (Required) OAuth client ID -
clientSecret
- (Required) OAuth client secret
-
enabled
- (Optional) If this IDP allows the user to sign in -
project
- (Optional) The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Attributes Reference
In addition to the arguments listed above, the following computed attributes are exported:
-
id
- an identifier for the resource with formatprojects/{{project}}/tenants/{{tenant}}/defaultSupportedIdpConfigs/{{idpId}}
-
name
- The name of the default supported IDP config resource
Timeouts
This resource provides the following Timeouts configuration options:
create
- Default is 20 minutes.update
- Default is 20 minutes.delete
- Default is 20 minutes.
Import
TenantDefaultSupportedIdpConfig can be imported using any of these accepted formats:
$ terraform import google_identity_platform_tenant_default_supported_idp_config.default projects/{{project}}/tenants/{{tenant}}/defaultSupportedIdpConfigs/{{idp_id}}
$ terraform import google_identity_platform_tenant_default_supported_idp_config.default {{project}}/{{tenant}}/{{idp_id}}
$ terraform import google_identity_platform_tenant_default_supported_idp_config.default {{tenant}}/{{idp_id}}
User Project Overrides
This resource supports User Project Overrides.