Tenant

Tenant configuration in a multi-tenant project. You must enable the Google Identity Platform in the marketplace prior to using this resource. You must enable multi-tenancy via the Cloud Console prior to creating tenants.

Example Usage

Identity Platform Tenant Basic

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.identityplatform.Tenant;
import com.pulumi.gcp.identityplatform.TenantArgs;
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 tenant = new Tenant("tenant", TenantArgs.builder()
.allowPasswordSignup(true)
.displayName("tenant")
.build());
}
}

Import

Tenant can be imported using any of these accepted formats

$ pulumi import gcp:identityplatform/tenant:Tenant default projects/{{project}}/tenants/{{name}}
$ pulumi import gcp:identityplatform/tenant:Tenant default {{project}}/{{name}}
$ pulumi import gcp:identityplatform/tenant:Tenant default {{name}}

Properties

Link copied to clipboard

Whether to allow email/password user authentication.

Link copied to clipboard
val disableAuth: Output<Boolean>?

Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.

Link copied to clipboard
val displayName: Output<String>

Human friendly display name of the tenant.

Link copied to clipboard

Whether to enable email link user authentication.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the tenant that is generated by the server

Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>