1. Packages
  2. Auth0 Provider
  3. API Docs
  4. ConnectionDirectory
Auth0 v3.35.0 published on Tuesday, Dec 23, 2025 by Pulumi
auth0 logo
Auth0 v3.35.0 published on Tuesday, Dec 23, 2025 by Pulumi

    With this resource, you can configure directory provisioning (directory sync) for Google Workspace Enterprise connections. This enables automatic user provisioning from the identity provider to Auth0.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as auth0 from "@pulumi/auth0";
    
    const googleWorkspace = new auth0.Connection("google_workspace", {
        name: "google-workspace-connection",
        displayName: "Google Workspace",
        strategy: "google-apps",
        options: {
            clientId: "your-google-client-id",
            clientSecret: "your-google-client-secret",
            domain: "example.com",
            apiEnableUsers: true,
        },
    });
    // Configure directory provisioning with default settings
    const _default = new auth0.ConnectionDirectory("default", {connectionId: googleWorkspace.id});
    // Configure directory provisioning with custom mapping and auto-sync enabled
    const custom = new auth0.ConnectionDirectory("custom", {
        connectionId: googleWorkspace.id,
        synchronizeAutomatically: true,
        mappings: [
            {
                auth0: "email",
                idp: "primaryEmail",
            },
            {
                auth0: "family_name",
                idp: "name.familyName",
            },
            {
                auth0: "given_name",
                idp: "name.givenName",
            },
            {
                auth0: "external_id",
                idp: "id",
            },
        ],
    });
    
    import pulumi
    import pulumi_auth0 as auth0
    
    google_workspace = auth0.Connection("google_workspace",
        name="google-workspace-connection",
        display_name="Google Workspace",
        strategy="google-apps",
        options={
            "client_id": "your-google-client-id",
            "client_secret": "your-google-client-secret",
            "domain": "example.com",
            "api_enable_users": True,
        })
    # Configure directory provisioning with default settings
    default = auth0.ConnectionDirectory("default", connection_id=google_workspace.id)
    # Configure directory provisioning with custom mapping and auto-sync enabled
    custom = auth0.ConnectionDirectory("custom",
        connection_id=google_workspace.id,
        synchronize_automatically=True,
        mappings=[
            {
                "auth0": "email",
                "idp": "primaryEmail",
            },
            {
                "auth0": "family_name",
                "idp": "name.familyName",
            },
            {
                "auth0": "given_name",
                "idp": "name.givenName",
            },
            {
                "auth0": "external_id",
                "idp": "id",
            },
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-auth0/sdk/v3/go/auth0"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		googleWorkspace, err := auth0.NewConnection(ctx, "google_workspace", &auth0.ConnectionArgs{
    			Name:        pulumi.String("google-workspace-connection"),
    			DisplayName: pulumi.String("Google Workspace"),
    			Strategy:    pulumi.String("google-apps"),
    			Options: &auth0.ConnectionOptionsArgs{
    				ClientId:       pulumi.String("your-google-client-id"),
    				ClientSecret:   pulumi.String("your-google-client-secret"),
    				Domain:         pulumi.String("example.com"),
    				ApiEnableUsers: pulumi.Bool(true),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		// Configure directory provisioning with default settings
    		_, err = auth0.NewConnectionDirectory(ctx, "default", &auth0.ConnectionDirectoryArgs{
    			ConnectionId: googleWorkspace.ID(),
    		})
    		if err != nil {
    			return err
    		}
    		// Configure directory provisioning with custom mapping and auto-sync enabled
    		_, err = auth0.NewConnectionDirectory(ctx, "custom", &auth0.ConnectionDirectoryArgs{
    			ConnectionId:             googleWorkspace.ID(),
    			SynchronizeAutomatically: pulumi.Bool(true),
    			Mappings: auth0.ConnectionDirectoryMappingArray{
    				&auth0.ConnectionDirectoryMappingArgs{
    					Auth0: pulumi.String("email"),
    					Idp:   pulumi.String("primaryEmail"),
    				},
    				&auth0.ConnectionDirectoryMappingArgs{
    					Auth0: pulumi.String("family_name"),
    					Idp:   pulumi.String("name.familyName"),
    				},
    				&auth0.ConnectionDirectoryMappingArgs{
    					Auth0: pulumi.String("given_name"),
    					Idp:   pulumi.String("name.givenName"),
    				},
    				&auth0.ConnectionDirectoryMappingArgs{
    					Auth0: pulumi.String("external_id"),
    					Idp:   pulumi.String("id"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Auth0 = Pulumi.Auth0;
    
    return await Deployment.RunAsync(() => 
    {
        var googleWorkspace = new Auth0.Connection("google_workspace", new()
        {
            Name = "google-workspace-connection",
            DisplayName = "Google Workspace",
            Strategy = "google-apps",
            Options = new Auth0.Inputs.ConnectionOptionsArgs
            {
                ClientId = "your-google-client-id",
                ClientSecret = "your-google-client-secret",
                Domain = "example.com",
                ApiEnableUsers = true,
            },
        });
    
        // Configure directory provisioning with default settings
        var @default = new Auth0.ConnectionDirectory("default", new()
        {
            ConnectionId = googleWorkspace.Id,
        });
    
        // Configure directory provisioning with custom mapping and auto-sync enabled
        var custom = new Auth0.ConnectionDirectory("custom", new()
        {
            ConnectionId = googleWorkspace.Id,
            SynchronizeAutomatically = true,
            Mappings = new[]
            {
                new Auth0.Inputs.ConnectionDirectoryMappingArgs
                {
                    Auth0 = "email",
                    Idp = "primaryEmail",
                },
                new Auth0.Inputs.ConnectionDirectoryMappingArgs
                {
                    Auth0 = "family_name",
                    Idp = "name.familyName",
                },
                new Auth0.Inputs.ConnectionDirectoryMappingArgs
                {
                    Auth0 = "given_name",
                    Idp = "name.givenName",
                },
                new Auth0.Inputs.ConnectionDirectoryMappingArgs
                {
                    Auth0 = "external_id",
                    Idp = "id",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.auth0.Connection;
    import com.pulumi.auth0.ConnectionArgs;
    import com.pulumi.auth0.inputs.ConnectionOptionsArgs;
    import com.pulumi.auth0.ConnectionDirectory;
    import com.pulumi.auth0.ConnectionDirectoryArgs;
    import com.pulumi.auth0.inputs.ConnectionDirectoryMappingArgs;
    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 googleWorkspace = new Connection("googleWorkspace", ConnectionArgs.builder()
                .name("google-workspace-connection")
                .displayName("Google Workspace")
                .strategy("google-apps")
                .options(ConnectionOptionsArgs.builder()
                    .clientId("your-google-client-id")
                    .clientSecret("your-google-client-secret")
                    .domain("example.com")
                    .apiEnableUsers(true)
                    .build())
                .build());
    
            // Configure directory provisioning with default settings
            var default_ = new ConnectionDirectory("default", ConnectionDirectoryArgs.builder()
                .connectionId(googleWorkspace.id())
                .build());
    
            // Configure directory provisioning with custom mapping and auto-sync enabled
            var custom = new ConnectionDirectory("custom", ConnectionDirectoryArgs.builder()
                .connectionId(googleWorkspace.id())
                .synchronizeAutomatically(true)
                .mappings(            
                    ConnectionDirectoryMappingArgs.builder()
                        .auth0("email")
                        .idp("primaryEmail")
                        .build(),
                    ConnectionDirectoryMappingArgs.builder()
                        .auth0("family_name")
                        .idp("name.familyName")
                        .build(),
                    ConnectionDirectoryMappingArgs.builder()
                        .auth0("given_name")
                        .idp("name.givenName")
                        .build(),
                    ConnectionDirectoryMappingArgs.builder()
                        .auth0("external_id")
                        .idp("id")
                        .build())
                .build());
    
        }
    }
    
    resources:
      googleWorkspace:
        type: auth0:Connection
        name: google_workspace
        properties:
          name: google-workspace-connection
          displayName: Google Workspace
          strategy: google-apps
          options:
            clientId: your-google-client-id
            clientSecret: your-google-client-secret
            domain: example.com
            apiEnableUsers: true
      # Configure directory provisioning with default settings
      default:
        type: auth0:ConnectionDirectory
        properties:
          connectionId: ${googleWorkspace.id}
      # Configure directory provisioning with custom mapping and auto-sync enabled
      custom:
        type: auth0:ConnectionDirectory
        properties:
          connectionId: ${googleWorkspace.id}
          synchronizeAutomatically: true
          mappings:
            - auth0: email
              idp: primaryEmail
            - auth0: family_name
              idp: name.familyName
            - auth0: given_name
              idp: name.givenName
            - auth0: external_id
              idp: id
    

    Create ConnectionDirectory Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ConnectionDirectory(name: string, args: ConnectionDirectoryArgs, opts?: CustomResourceOptions);
    @overload
    def ConnectionDirectory(resource_name: str,
                            args: ConnectionDirectoryArgs,
                            opts: Optional[ResourceOptions] = None)
    
    @overload
    def ConnectionDirectory(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            connection_id: Optional[str] = None,
                            mappings: Optional[Sequence[ConnectionDirectoryMappingArgs]] = None,
                            synchronize_automatically: Optional[bool] = None)
    func NewConnectionDirectory(ctx *Context, name string, args ConnectionDirectoryArgs, opts ...ResourceOption) (*ConnectionDirectory, error)
    public ConnectionDirectory(string name, ConnectionDirectoryArgs args, CustomResourceOptions? opts = null)
    public ConnectionDirectory(String name, ConnectionDirectoryArgs args)
    public ConnectionDirectory(String name, ConnectionDirectoryArgs args, CustomResourceOptions options)
    
    type: auth0:ConnectionDirectory
    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 ConnectionDirectoryArgs
    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 ConnectionDirectoryArgs
    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 ConnectionDirectoryArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ConnectionDirectoryArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ConnectionDirectoryArgs
    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 connectionDirectoryResource = new Auth0.ConnectionDirectory("connectionDirectoryResource", new()
    {
        ConnectionId = "string",
        Mappings = new[]
        {
            new Auth0.Inputs.ConnectionDirectoryMappingArgs
            {
                Auth0 = "string",
                Idp = "string",
            },
        },
        SynchronizeAutomatically = false,
    });
    
    example, err := auth0.NewConnectionDirectory(ctx, "connectionDirectoryResource", &auth0.ConnectionDirectoryArgs{
    	ConnectionId: pulumi.String("string"),
    	Mappings: auth0.ConnectionDirectoryMappingArray{
    		&auth0.ConnectionDirectoryMappingArgs{
    			Auth0: pulumi.String("string"),
    			Idp:   pulumi.String("string"),
    		},
    	},
    	SynchronizeAutomatically: pulumi.Bool(false),
    })
    
    var connectionDirectoryResource = new ConnectionDirectory("connectionDirectoryResource", ConnectionDirectoryArgs.builder()
        .connectionId("string")
        .mappings(ConnectionDirectoryMappingArgs.builder()
            .auth0("string")
            .idp("string")
            .build())
        .synchronizeAutomatically(false)
        .build());
    
    connection_directory_resource = auth0.ConnectionDirectory("connectionDirectoryResource",
        connection_id="string",
        mappings=[{
            "auth0": "string",
            "idp": "string",
        }],
        synchronize_automatically=False)
    
    const connectionDirectoryResource = new auth0.ConnectionDirectory("connectionDirectoryResource", {
        connectionId: "string",
        mappings: [{
            auth0: "string",
            idp: "string",
        }],
        synchronizeAutomatically: false,
    });
    
    type: auth0:ConnectionDirectory
    properties:
        connectionId: string
        mappings:
            - auth0: string
              idp: string
        synchronizeAutomatically: false
    

    ConnectionDirectory 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 ConnectionDirectory resource accepts the following input properties:

    ConnectionId string
    ID of the connection for this directory provisioning configuration.
    Mappings List<ConnectionDirectoryMapping>
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    SynchronizeAutomatically bool
    Whether periodic automatic synchronization is enabled. Defaults to false.
    ConnectionId string
    ID of the connection for this directory provisioning configuration.
    Mappings []ConnectionDirectoryMappingArgs
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    SynchronizeAutomatically bool
    Whether periodic automatic synchronization is enabled. Defaults to false.
    connectionId String
    ID of the connection for this directory provisioning configuration.
    mappings List<ConnectionDirectoryMapping>
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    synchronizeAutomatically Boolean
    Whether periodic automatic synchronization is enabled. Defaults to false.
    connectionId string
    ID of the connection for this directory provisioning configuration.
    mappings ConnectionDirectoryMapping[]
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    synchronizeAutomatically boolean
    Whether periodic automatic synchronization is enabled. Defaults to false.
    connection_id str
    ID of the connection for this directory provisioning configuration.
    mappings Sequence[ConnectionDirectoryMappingArgs]
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    synchronize_automatically bool
    Whether periodic automatic synchronization is enabled. Defaults to false.
    connectionId String
    ID of the connection for this directory provisioning configuration.
    mappings List<Property Map>
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    synchronizeAutomatically Boolean
    Whether periodic automatic synchronization is enabled. Defaults to false.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ConnectionDirectory resource produces the following output properties:

    ConnectionName string
    Name of the connection for this directory provisioning configuration.
    CreatedAt string
    The timestamp at which the directory provisioning configuration was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastSynchronizationAt string
    The timestamp at which the connection was last synchronized.
    LastSynchronizationError string
    The error message of the last synchronization, if any.
    LastSynchronizationStatus string
    The status of the last synchronization.
    Strategy string
    Strategy of the connection for this directory provisioning configuration.
    UpdatedAt string
    The timestamp at which the directory provisioning configuration was last updated.
    ConnectionName string
    Name of the connection for this directory provisioning configuration.
    CreatedAt string
    The timestamp at which the directory provisioning configuration was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    LastSynchronizationAt string
    The timestamp at which the connection was last synchronized.
    LastSynchronizationError string
    The error message of the last synchronization, if any.
    LastSynchronizationStatus string
    The status of the last synchronization.
    Strategy string
    Strategy of the connection for this directory provisioning configuration.
    UpdatedAt string
    The timestamp at which the directory provisioning configuration was last updated.
    connectionName String
    Name of the connection for this directory provisioning configuration.
    createdAt String
    The timestamp at which the directory provisioning configuration was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastSynchronizationAt String
    The timestamp at which the connection was last synchronized.
    lastSynchronizationError String
    The error message of the last synchronization, if any.
    lastSynchronizationStatus String
    The status of the last synchronization.
    strategy String
    Strategy of the connection for this directory provisioning configuration.
    updatedAt String
    The timestamp at which the directory provisioning configuration was last updated.
    connectionName string
    Name of the connection for this directory provisioning configuration.
    createdAt string
    The timestamp at which the directory provisioning configuration was created.
    id string
    The provider-assigned unique ID for this managed resource.
    lastSynchronizationAt string
    The timestamp at which the connection was last synchronized.
    lastSynchronizationError string
    The error message of the last synchronization, if any.
    lastSynchronizationStatus string
    The status of the last synchronization.
    strategy string
    Strategy of the connection for this directory provisioning configuration.
    updatedAt string
    The timestamp at which the directory provisioning configuration was last updated.
    connection_name str
    Name of the connection for this directory provisioning configuration.
    created_at str
    The timestamp at which the directory provisioning configuration was created.
    id str
    The provider-assigned unique ID for this managed resource.
    last_synchronization_at str
    The timestamp at which the connection was last synchronized.
    last_synchronization_error str
    The error message of the last synchronization, if any.
    last_synchronization_status str
    The status of the last synchronization.
    strategy str
    Strategy of the connection for this directory provisioning configuration.
    updated_at str
    The timestamp at which the directory provisioning configuration was last updated.
    connectionName String
    Name of the connection for this directory provisioning configuration.
    createdAt String
    The timestamp at which the directory provisioning configuration was created.
    id String
    The provider-assigned unique ID for this managed resource.
    lastSynchronizationAt String
    The timestamp at which the connection was last synchronized.
    lastSynchronizationError String
    The error message of the last synchronization, if any.
    lastSynchronizationStatus String
    The status of the last synchronization.
    strategy String
    Strategy of the connection for this directory provisioning configuration.
    updatedAt String
    The timestamp at which the directory provisioning configuration was last updated.

    Look up Existing ConnectionDirectory Resource

    Get an existing ConnectionDirectory 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?: ConnectionDirectoryState, opts?: CustomResourceOptions): ConnectionDirectory
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connection_id: Optional[str] = None,
            connection_name: Optional[str] = None,
            created_at: Optional[str] = None,
            last_synchronization_at: Optional[str] = None,
            last_synchronization_error: Optional[str] = None,
            last_synchronization_status: Optional[str] = None,
            mappings: Optional[Sequence[ConnectionDirectoryMappingArgs]] = None,
            strategy: Optional[str] = None,
            synchronize_automatically: Optional[bool] = None,
            updated_at: Optional[str] = None) -> ConnectionDirectory
    func GetConnectionDirectory(ctx *Context, name string, id IDInput, state *ConnectionDirectoryState, opts ...ResourceOption) (*ConnectionDirectory, error)
    public static ConnectionDirectory Get(string name, Input<string> id, ConnectionDirectoryState? state, CustomResourceOptions? opts = null)
    public static ConnectionDirectory get(String name, Output<String> id, ConnectionDirectoryState state, CustomResourceOptions options)
    resources:  _:    type: auth0:ConnectionDirectory    get:      id: ${id}
    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.
    The following state arguments are supported:
    ConnectionId string
    ID of the connection for this directory provisioning configuration.
    ConnectionName string
    Name of the connection for this directory provisioning configuration.
    CreatedAt string
    The timestamp at which the directory provisioning configuration was created.
    LastSynchronizationAt string
    The timestamp at which the connection was last synchronized.
    LastSynchronizationError string
    The error message of the last synchronization, if any.
    LastSynchronizationStatus string
    The status of the last synchronization.
    Mappings List<ConnectionDirectoryMapping>
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    Strategy string
    Strategy of the connection for this directory provisioning configuration.
    SynchronizeAutomatically bool
    Whether periodic automatic synchronization is enabled. Defaults to false.
    UpdatedAt string
    The timestamp at which the directory provisioning configuration was last updated.
    ConnectionId string
    ID of the connection for this directory provisioning configuration.
    ConnectionName string
    Name of the connection for this directory provisioning configuration.
    CreatedAt string
    The timestamp at which the directory provisioning configuration was created.
    LastSynchronizationAt string
    The timestamp at which the connection was last synchronized.
    LastSynchronizationError string
    The error message of the last synchronization, if any.
    LastSynchronizationStatus string
    The status of the last synchronization.
    Mappings []ConnectionDirectoryMappingArgs
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    Strategy string
    Strategy of the connection for this directory provisioning configuration.
    SynchronizeAutomatically bool
    Whether periodic automatic synchronization is enabled. Defaults to false.
    UpdatedAt string
    The timestamp at which the directory provisioning configuration was last updated.
    connectionId String
    ID of the connection for this directory provisioning configuration.
    connectionName String
    Name of the connection for this directory provisioning configuration.
    createdAt String
    The timestamp at which the directory provisioning configuration was created.
    lastSynchronizationAt String
    The timestamp at which the connection was last synchronized.
    lastSynchronizationError String
    The error message of the last synchronization, if any.
    lastSynchronizationStatus String
    The status of the last synchronization.
    mappings List<ConnectionDirectoryMapping>
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    strategy String
    Strategy of the connection for this directory provisioning configuration.
    synchronizeAutomatically Boolean
    Whether periodic automatic synchronization is enabled. Defaults to false.
    updatedAt String
    The timestamp at which the directory provisioning configuration was last updated.
    connectionId string
    ID of the connection for this directory provisioning configuration.
    connectionName string
    Name of the connection for this directory provisioning configuration.
    createdAt string
    The timestamp at which the directory provisioning configuration was created.
    lastSynchronizationAt string
    The timestamp at which the connection was last synchronized.
    lastSynchronizationError string
    The error message of the last synchronization, if any.
    lastSynchronizationStatus string
    The status of the last synchronization.
    mappings ConnectionDirectoryMapping[]
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    strategy string
    Strategy of the connection for this directory provisioning configuration.
    synchronizeAutomatically boolean
    Whether periodic automatic synchronization is enabled. Defaults to false.
    updatedAt string
    The timestamp at which the directory provisioning configuration was last updated.
    connection_id str
    ID of the connection for this directory provisioning configuration.
    connection_name str
    Name of the connection for this directory provisioning configuration.
    created_at str
    The timestamp at which the directory provisioning configuration was created.
    last_synchronization_at str
    The timestamp at which the connection was last synchronized.
    last_synchronization_error str
    The error message of the last synchronization, if any.
    last_synchronization_status str
    The status of the last synchronization.
    mappings Sequence[ConnectionDirectoryMappingArgs]
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    strategy str
    Strategy of the connection for this directory provisioning configuration.
    synchronize_automatically bool
    Whether periodic automatic synchronization is enabled. Defaults to false.
    updated_at str
    The timestamp at which the directory provisioning configuration was last updated.
    connectionId String
    ID of the connection for this directory provisioning configuration.
    connectionName String
    Name of the connection for this directory provisioning configuration.
    createdAt String
    The timestamp at which the directory provisioning configuration was created.
    lastSynchronizationAt String
    The timestamp at which the connection was last synchronized.
    lastSynchronizationError String
    The error message of the last synchronization, if any.
    lastSynchronizationStatus String
    The status of the last synchronization.
    mappings List<Property Map>
    Mapping between Auth0 attributes and IDP user attributes. Defaults to default mapping for the connection type if not specified.
    strategy String
    Strategy of the connection for this directory provisioning configuration.
    synchronizeAutomatically Boolean
    Whether periodic automatic synchronization is enabled. Defaults to false.
    updatedAt String
    The timestamp at which the directory provisioning configuration was last updated.

    Supporting Types

    ConnectionDirectoryMapping, ConnectionDirectoryMappingArgs

    Auth0 string
    The field location in the Auth0 schema.
    Idp string
    The field location in the IDP schema.
    Auth0 string
    The field location in the Auth0 schema.
    Idp string
    The field location in the IDP schema.
    auth0 String
    The field location in the Auth0 schema.
    idp String
    The field location in the IDP schema.
    auth0 string
    The field location in the Auth0 schema.
    idp string
    The field location in the IDP schema.
    auth0 str
    The field location in the Auth0 schema.
    idp str
    The field location in the IDP schema.
    auth0 String
    The field location in the Auth0 schema.
    idp String
    The field location in the IDP schema.

    Import

    $ pulumi import auth0:index/connectionDirectory:ConnectionDirectory custom "con_XXXXXXXXXXXXXX"
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Auth0 pulumi/pulumi-auth0
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the auth0 Terraform Provider.
    auth0 logo
    Auth0 v3.35.0 published on Tuesday, Dec 23, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate