auth0.TokenExchangeProfile
Explore with Pulumi AI
With this resource, you can manage Auth0 Custom Token Exchange Profiles
Create TokenExchangeProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TokenExchangeProfile(name: string, args?: TokenExchangeProfileArgs, opts?: CustomResourceOptions);
@overload
def TokenExchangeProfile(resource_name: str,
args: Optional[TokenExchangeProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def TokenExchangeProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
action_id: Optional[str] = None,
name: Optional[str] = None,
subject_token_type: Optional[str] = None,
type: Optional[str] = None)
func NewTokenExchangeProfile(ctx *Context, name string, args *TokenExchangeProfileArgs, opts ...ResourceOption) (*TokenExchangeProfile, error)
public TokenExchangeProfile(string name, TokenExchangeProfileArgs? args = null, CustomResourceOptions? opts = null)
public TokenExchangeProfile(String name, TokenExchangeProfileArgs args)
public TokenExchangeProfile(String name, TokenExchangeProfileArgs args, CustomResourceOptions options)
type: auth0:TokenExchangeProfile
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 TokenExchangeProfileArgs
- 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 TokenExchangeProfileArgs
- 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 TokenExchangeProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TokenExchangeProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TokenExchangeProfileArgs
- 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 tokenExchangeProfileResource = new Auth0.TokenExchangeProfile("tokenExchangeProfileResource", new()
{
ActionId = "string",
Name = "string",
SubjectTokenType = "string",
Type = "string",
});
example, err := auth0.NewTokenExchangeProfile(ctx, "tokenExchangeProfileResource", &auth0.TokenExchangeProfileArgs{
ActionId: pulumi.String("string"),
Name: pulumi.String("string"),
SubjectTokenType: pulumi.String("string"),
Type: pulumi.String("string"),
})
var tokenExchangeProfileResource = new TokenExchangeProfile("tokenExchangeProfileResource", TokenExchangeProfileArgs.builder()
.actionId("string")
.name("string")
.subjectTokenType("string")
.type("string")
.build());
token_exchange_profile_resource = auth0.TokenExchangeProfile("tokenExchangeProfileResource",
action_id="string",
name="string",
subject_token_type="string",
type="string")
const tokenExchangeProfileResource = new auth0.TokenExchangeProfile("tokenExchangeProfileResource", {
actionId: "string",
name: "string",
subjectTokenType: "string",
type: "string",
});
type: auth0:TokenExchangeProfile
properties:
actionId: string
name: string
subjectTokenType: string
type: string
TokenExchangeProfile 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 TokenExchangeProfile resource accepts the following input properties:
- Action
Id string - Unique identifier of the Action
- Name string
- Name of the token exchange profile.
- Subject
Token stringType - Type of the subject token
- Type string
- Type of the token exchange profile
- Action
Id string - Unique identifier of the Action
- Name string
- Name of the token exchange profile.
- Subject
Token stringType - Type of the subject token
- Type string
- Type of the token exchange profile
- action
Id String - Unique identifier of the Action
- name String
- Name of the token exchange profile.
- subject
Token StringType - Type of the subject token
- type String
- Type of the token exchange profile
- action
Id string - Unique identifier of the Action
- name string
- Name of the token exchange profile.
- subject
Token stringType - Type of the subject token
- type string
- Type of the token exchange profile
- action_
id str - Unique identifier of the Action
- name str
- Name of the token exchange profile.
- subject_
token_ strtype - Type of the subject token
- type str
- Type of the token exchange profile
- action
Id String - Unique identifier of the Action
- name String
- Name of the token exchange profile.
- subject
Token StringType - Type of the subject token
- type String
- Type of the token exchange profile
Outputs
All input properties are implicitly available as output properties. Additionally, the TokenExchangeProfile resource produces the following output properties:
- created_
at str - The ISO 8601 formatted date the credential was created.
- id str
- The provider-assigned unique ID for this managed resource.
- updated_
at str - The ISO 8601 formatted date the credential was updated.
Look up Existing TokenExchangeProfile Resource
Get an existing TokenExchangeProfile 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?: TokenExchangeProfileState, opts?: CustomResourceOptions): TokenExchangeProfile
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action_id: Optional[str] = None,
created_at: Optional[str] = None,
name: Optional[str] = None,
subject_token_type: Optional[str] = None,
type: Optional[str] = None,
updated_at: Optional[str] = None) -> TokenExchangeProfile
func GetTokenExchangeProfile(ctx *Context, name string, id IDInput, state *TokenExchangeProfileState, opts ...ResourceOption) (*TokenExchangeProfile, error)
public static TokenExchangeProfile Get(string name, Input<string> id, TokenExchangeProfileState? state, CustomResourceOptions? opts = null)
public static TokenExchangeProfile get(String name, Output<String> id, TokenExchangeProfileState state, CustomResourceOptions options)
resources: _: type: auth0:TokenExchangeProfile 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.
- Action
Id string - Unique identifier of the Action
- Created
At string - The ISO 8601 formatted date the credential was created.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
auth0
Terraform Provider.