Google Identity Platform Tenant Default Supported Idp Config
This page shows how to write Terraform for Identity Platform Tenant Default Supported Idp Config and write them securely.
google_identity_platform_tenant_default_supported_idp_config (Terraform)
The Tenant Default Supported Idp Config in Identity Platform can be configured in Terraform with the resource name google_identity_platform_tenant_default_supported_idp_config
. The following sections describe 3 examples of how to use the resource and its parameters.
Example Usage from GitHub
resource "google_identity_platform_tenant_default_supported_idp_config" "idp_config" {
enabled = true
tenant = google_identity_platform_tenant.tenant.name
idp_id = "playgames.google.com"
client_id = "my-client-id"
client_secret = "secret"
resource "google_identity_platform_tenant_default_supported_idp_config" "idp_config" {
enabled = true
tenant = google_identity_platform_tenant.tenant.name
idp_id = "playgames.google.com"
client_id = "my-client-id"
client_secret = "secret"
resource "google_identity_platform_tenant_default_supported_idp_config" "idp_configs" {
for_each = var.idp_configs
enabled = each.value.enabled
project = var.project_id
tenant = google_identity_platform_tenant.tenant_tf.name
idp_id = each.key
Parameters
-
client_id
required - string
OAuth client ID
-
client_secret
required - string
OAuth client secret
-
enabled
optional - bool
If this IDP allows the user to sign in
ID of the IDP. Possible values include: 'apple.com' 'facebook.com' 'gc.apple.com' 'github.com' 'google.com' 'linkedin.com' 'microsoft.com' 'playgames.google.com' 'twitter.com' 'yahoo.com'
-
name
optional computed - string
The name of the default supported IDP config resource
The name of the tenant where this DefaultSupportedIdpConfig resource exists
Explanation in Terraform Registry
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.
Frequently asked questions
What is Google Identity Platform Tenant Default Supported Idp Config?
Google Identity Platform Tenant Default Supported Idp Config is a resource for Identity Platform of Google Cloud Platform. Settings can be wrote in Terraform.
Where can I find the example code for the Google Identity Platform Tenant Default Supported Idp Config?
For Terraform, the reubanj/GCP-terraform, yaroslavopsguru/gcp-tf-resources and extenda/tf-module-gcp-tenants source code examples are useful. See the Terraform Example section for further details.