Viewing docs for Auth0 v3.39.0
published on Friday, Apr 3, 2026 by Pulumi
published on Friday, Apr 3, 2026 by Pulumi
Viewing docs for Auth0 v3.39.0
published on Friday, Apr 3, 2026 by Pulumi
published on Friday, Apr 3, 2026 by Pulumi
Data source to retrieve directory provisioning configuration for an Auth0 connection by connectionId.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";
const myDirectoryConfig = auth0.getConnectionDirectory({
connectionId: "con_xxxxxxxxxxxxx",
});
import pulumi
import pulumi_auth0 as auth0
my_directory_config = auth0.get_connection_directory(connection_id="con_xxxxxxxxxxxxx")
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 {
_, err := auth0.LookupConnectionDirectory(ctx, &auth0.LookupConnectionDirectoryArgs{
ConnectionId: "con_xxxxxxxxxxxxx",
}, nil)
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 myDirectoryConfig = Auth0.GetConnectionDirectory.Invoke(new()
{
ConnectionId = "con_xxxxxxxxxxxxx",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.auth0.Auth0Functions;
import com.pulumi.auth0.inputs.GetConnectionDirectoryArgs;
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) {
final var myDirectoryConfig = Auth0Functions.getConnectionDirectory(GetConnectionDirectoryArgs.builder()
.connectionId("con_xxxxxxxxxxxxx")
.build());
}
}
variables:
myDirectoryConfig:
fn::invoke:
function: auth0:getConnectionDirectory
arguments:
connectionId: con_xxxxxxxxxxxxx
Using getConnectionDirectory
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getConnectionDirectory(args: GetConnectionDirectoryArgs, opts?: InvokeOptions): Promise<GetConnectionDirectoryResult>
function getConnectionDirectoryOutput(args: GetConnectionDirectoryOutputArgs, opts?: InvokeOptions): Output<GetConnectionDirectoryResult>def get_connection_directory(connection_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetConnectionDirectoryResult
def get_connection_directory_output(connection_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetConnectionDirectoryResult]func LookupConnectionDirectory(ctx *Context, args *LookupConnectionDirectoryArgs, opts ...InvokeOption) (*LookupConnectionDirectoryResult, error)
func LookupConnectionDirectoryOutput(ctx *Context, args *LookupConnectionDirectoryOutputArgs, opts ...InvokeOption) LookupConnectionDirectoryResultOutput> Note: This function is named LookupConnectionDirectory in the Go SDK.
public static class GetConnectionDirectory
{
public static Task<GetConnectionDirectoryResult> InvokeAsync(GetConnectionDirectoryArgs args, InvokeOptions? opts = null)
public static Output<GetConnectionDirectoryResult> Invoke(GetConnectionDirectoryInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetConnectionDirectoryResult> getConnectionDirectory(GetConnectionDirectoryArgs args, InvokeOptions options)
public static Output<GetConnectionDirectoryResult> getConnectionDirectory(GetConnectionDirectoryArgs args, InvokeOptions options)
fn::invoke:
function: auth0:index/getConnectionDirectory:getConnectionDirectory
arguments:
# arguments dictionaryThe following arguments are supported:
- Connection
Id string - ID of the connection for this directory provisioning configuration.
- Connection
Id string - ID of the connection for this directory provisioning configuration.
- connection
Id String - ID of the connection for this directory provisioning configuration.
- connection
Id string - ID of the connection for this directory provisioning configuration.
- connection_
id str - ID of the connection for this directory provisioning configuration.
- connection
Id String - ID of the connection for this directory provisioning configuration.
getConnectionDirectory Result
The following output properties are available:
- Connection
Id string - ID of the connection for this directory provisioning configuration.
- Connection
Name string - Name of the connection for this directory provisioning configuration.
- Created
At string - The timestamp at which the directory provisioning configuration was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Synchronization stringAt - The timestamp at which the connection was last synchronized.
- Last
Synchronization stringError - The error message of the last synchronization, if any.
- Last
Synchronization stringStatus - The status of the last synchronization.
- Mappings
List<Get
Connection Directory Mapping> - 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.
- Synchronize
Automatically bool - Whether periodic automatic synchronization is enabled. Defaults to false.
- Updated
At string - The timestamp at which the directory provisioning configuration was last updated.
- Connection
Id string - ID of the connection for this directory provisioning configuration.
- Connection
Name string - Name of the connection for this directory provisioning configuration.
- Created
At string - The timestamp at which the directory provisioning configuration was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Synchronization stringAt - The timestamp at which the connection was last synchronized.
- Last
Synchronization stringError - The error message of the last synchronization, if any.
- Last
Synchronization stringStatus - The status of the last synchronization.
- Mappings
[]Get
Connection Directory Mapping - 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.
- Synchronize
Automatically bool - Whether periodic automatic synchronization is enabled. Defaults to false.
- Updated
At string - The timestamp at which the directory provisioning configuration was last updated.
- connection
Id String - ID of the connection for this directory provisioning configuration.
- connection
Name String - Name of the connection for this directory provisioning configuration.
- created
At String - The timestamp at which the directory provisioning configuration was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Synchronization StringAt - The timestamp at which the connection was last synchronized.
- last
Synchronization StringError - The error message of the last synchronization, if any.
- last
Synchronization StringStatus - The status of the last synchronization.
- mappings
List<Get
Connection Directory Mapping> - 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.
- synchronize
Automatically Boolean - Whether periodic automatic synchronization is enabled. Defaults to false.
- updated
At String - The timestamp at which the directory provisioning configuration was last updated.
- connection
Id string - ID of the connection for this directory provisioning configuration.
- connection
Name string - Name of the connection for this directory provisioning configuration.
- created
At string - The timestamp at which the directory provisioning configuration was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Synchronization stringAt - The timestamp at which the connection was last synchronized.
- last
Synchronization stringError - The error message of the last synchronization, if any.
- last
Synchronization stringStatus - The status of the last synchronization.
- mappings
Get
Connection Directory Mapping[] - 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.
- synchronize
Automatically boolean - Whether periodic automatic synchronization is enabled. Defaults to false.
- updated
At 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.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
synchronization_ strat - The timestamp at which the connection was last synchronized.
- last_
synchronization_ strerror - The error message of the last synchronization, if any.
- last_
synchronization_ strstatus - The status of the last synchronization.
- mappings
Sequence[Get
Connection Directory Mapping] - 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.
- connection
Id String - ID of the connection for this directory provisioning configuration.
- connection
Name String - Name of the connection for this directory provisioning configuration.
- created
At String - The timestamp at which the directory provisioning configuration was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Synchronization StringAt - The timestamp at which the connection was last synchronized.
- last
Synchronization StringError - The error message of the last synchronization, if any.
- last
Synchronization StringStatus - 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.
- synchronize
Automatically Boolean - Whether periodic automatic synchronization is enabled. Defaults to false.
- updated
At String - The timestamp at which the directory provisioning configuration was last updated.
Supporting Types
GetConnectionDirectoryMapping
Package Details
- Repository
- Auth0 pulumi/pulumi-auth0
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
auth0Terraform Provider.
Viewing docs for Auth0 v3.39.0
published on Friday, Apr 3, 2026 by Pulumi
published on Friday, Apr 3, 2026 by Pulumi
