Viewing docs for Auth0 v3.38.0
published on Friday, Feb 20, 2026 by Pulumi
published on Friday, Feb 20, 2026 by Pulumi
Viewing docs for Auth0 v3.38.0
published on Friday, Feb 20, 2026 by Pulumi
published on Friday, Feb 20, 2026 by Pulumi
Data source to retrieve a specific Auth0 Token Exchange Profile by id
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as auth0 from "@pulumi/auth0";
// An Auth0 Token Exchange Profile loaded using its ID.
const myProfile = auth0.getTokenExchangeProfile({
id: "tep_Tnvl88SKv98TkMmr",
});
import pulumi
import pulumi_auth0 as auth0
# An Auth0 Token Exchange Profile loaded using its ID.
my_profile = auth0.get_token_exchange_profile(id="tep_Tnvl88SKv98TkMmr")
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 {
// An Auth0 Token Exchange Profile loaded using its ID.
_, err := auth0.LookupTokenExchangeProfile(ctx, &auth0.LookupTokenExchangeProfileArgs{
Id: "tep_Tnvl88SKv98TkMmr",
}, 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(() =>
{
// An Auth0 Token Exchange Profile loaded using its ID.
var myProfile = Auth0.GetTokenExchangeProfile.Invoke(new()
{
Id = "tep_Tnvl88SKv98TkMmr",
});
});
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.GetTokenExchangeProfileArgs;
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) {
// An Auth0 Token Exchange Profile loaded using its ID.
final var myProfile = Auth0Functions.getTokenExchangeProfile(GetTokenExchangeProfileArgs.builder()
.id("tep_Tnvl88SKv98TkMmr")
.build());
}
}
variables:
# An Auth0 Token Exchange Profile loaded using its ID.
myProfile:
fn::invoke:
function: auth0:getTokenExchangeProfile
arguments:
id: tep_Tnvl88SKv98TkMmr
Using getTokenExchangeProfile
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 getTokenExchangeProfile(args: GetTokenExchangeProfileArgs, opts?: InvokeOptions): Promise<GetTokenExchangeProfileResult>
function getTokenExchangeProfileOutput(args: GetTokenExchangeProfileOutputArgs, opts?: InvokeOptions): Output<GetTokenExchangeProfileResult>def get_token_exchange_profile(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTokenExchangeProfileResult
def get_token_exchange_profile_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTokenExchangeProfileResult]func LookupTokenExchangeProfile(ctx *Context, args *LookupTokenExchangeProfileArgs, opts ...InvokeOption) (*LookupTokenExchangeProfileResult, error)
func LookupTokenExchangeProfileOutput(ctx *Context, args *LookupTokenExchangeProfileOutputArgs, opts ...InvokeOption) LookupTokenExchangeProfileResultOutput> Note: This function is named LookupTokenExchangeProfile in the Go SDK.
public static class GetTokenExchangeProfile
{
public static Task<GetTokenExchangeProfileResult> InvokeAsync(GetTokenExchangeProfileArgs args, InvokeOptions? opts = null)
public static Output<GetTokenExchangeProfileResult> Invoke(GetTokenExchangeProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetTokenExchangeProfileResult> getTokenExchangeProfile(GetTokenExchangeProfileArgs args, InvokeOptions options)
public static Output<GetTokenExchangeProfileResult> getTokenExchangeProfile(GetTokenExchangeProfileArgs args, InvokeOptions options)
fn::invoke:
function: auth0:index/getTokenExchangeProfile:getTokenExchangeProfile
arguments:
# arguments dictionaryThe following arguments are supported:
- Id string
- The id of the Token Exchange Profile
- Id string
- The id of the Token Exchange Profile
- id String
- The id of the Token Exchange Profile
- id string
- The id of the Token Exchange Profile
- id str
- The id of the Token Exchange Profile
- id String
- The id of the Token Exchange Profile
getTokenExchangeProfile Result
The following output properties are available:
- Action
Id string - Unique identifier of the Action
- Created
At string - The ISO 8601 formatted date the credential was created.
- Id string
- The id of the Token Exchange Profile
- Name string
- Name of the token exchange profile.
- Subject
Token stringType - Type of the subject token
- Type string
- Type of the token exchange profile
- Updated
At string - The ISO 8601 formatted date the credential was updated.
- Action
Id string - Unique identifier of the Action
- Created
At string - The ISO 8601 formatted date the credential was created.
- Id string
- The id of the Token Exchange Profile
- Name string
- Name of the token exchange profile.
- Subject
Token stringType - Type of the subject token
- Type string
- Type of the token exchange profile
- Updated
At string - The ISO 8601 formatted date the credential was updated.
- action
Id String - Unique identifier of the Action
- created
At String - The ISO 8601 formatted date the credential was created.
- id String
- The id of the Token Exchange Profile
- name String
- Name of the token exchange profile.
- subject
Token StringType - Type of the subject token
- type String
- Type of the token exchange profile
- updated
At String - The ISO 8601 formatted date the credential was updated.
- action
Id string - Unique identifier of the Action
- created
At string - The ISO 8601 formatted date the credential was created.
- id string
- The id of the Token Exchange Profile
- name string
- Name of the token exchange profile.
- subject
Token stringType - Type of the subject token
- type string
- Type of the token exchange profile
- updated
At string - The ISO 8601 formatted date the credential was updated.
- action_
id str - Unique identifier of the Action
- created_
at str - The ISO 8601 formatted date the credential was created.
- id str
- The id of the Token Exchange Profile
- name str
- Name of the token exchange profile.
- subject_
token_ strtype - Type of the subject token
- type str
- Type of the token exchange profile
- updated_
at str - The ISO 8601 formatted date the credential was updated.
- action
Id String - Unique identifier of the Action
- created
At String - The ISO 8601 formatted date the credential was created.
- id String
- The id of the Token Exchange Profile
- name String
- Name of the token exchange profile.
- subject
Token StringType - Type of the subject token
- type String
- Type of the token exchange profile
- updated
At String - The ISO 8601 formatted date the credential was updated.
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.38.0
published on Friday, Feb 20, 2026 by Pulumi
published on Friday, Feb 20, 2026 by Pulumi
