ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getAppidTokenConfig
Explore with Pulumi AI
Retrieve information about an IBM Cloud AppID Management Services token configuration. For more information, refer to Customizing AppID tokens.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const tc = ibm.getAppidTokenConfig({
    tenantId: _var.tenant_id,
});
import pulumi
import pulumi_ibm as ibm
tc = ibm.get_appid_token_config(tenant_id=var["tenant_id"])
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := ibm.LookupAppidTokenConfig(ctx, &ibm.LookupAppidTokenConfigArgs{
			TenantId: _var.Tenant_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() => 
{
    var tc = Ibm.GetAppidTokenConfig.Invoke(new()
    {
        TenantId = @var.Tenant_id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.IbmFunctions;
import com.pulumi.ibm.inputs.GetAppidTokenConfigArgs;
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 tc = IbmFunctions.getAppidTokenConfig(GetAppidTokenConfigArgs.builder()
            .tenantId(var_.tenant_id())
            .build());
    }
}
variables:
  tc:
    fn::invoke:
      function: ibm:getAppidTokenConfig
      arguments:
        tenantId: ${var.tenant_id}
Using getAppidTokenConfig
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 getAppidTokenConfig(args: GetAppidTokenConfigArgs, opts?: InvokeOptions): Promise<GetAppidTokenConfigResult>
function getAppidTokenConfigOutput(args: GetAppidTokenConfigOutputArgs, opts?: InvokeOptions): Output<GetAppidTokenConfigResult>def get_appid_token_config(id: Optional[str] = None,
                           tenant_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetAppidTokenConfigResult
def get_appid_token_config_output(id: Optional[pulumi.Input[str]] = None,
                           tenant_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetAppidTokenConfigResult]func LookupAppidTokenConfig(ctx *Context, args *LookupAppidTokenConfigArgs, opts ...InvokeOption) (*LookupAppidTokenConfigResult, error)
func LookupAppidTokenConfigOutput(ctx *Context, args *LookupAppidTokenConfigOutputArgs, opts ...InvokeOption) LookupAppidTokenConfigResultOutput> Note: This function is named LookupAppidTokenConfig in the Go SDK.
public static class GetAppidTokenConfig 
{
    public static Task<GetAppidTokenConfigResult> InvokeAsync(GetAppidTokenConfigArgs args, InvokeOptions? opts = null)
    public static Output<GetAppidTokenConfigResult> Invoke(GetAppidTokenConfigInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAppidTokenConfigResult> getAppidTokenConfig(GetAppidTokenConfigArgs args, InvokeOptions options)
public static Output<GetAppidTokenConfigResult> getAppidTokenConfig(GetAppidTokenConfigArgs args, InvokeOptions options)
fn::invoke:
  function: ibm:index/getAppidTokenConfig:getAppidTokenConfig
  arguments:
    # arguments dictionaryThe following arguments are supported:
getAppidTokenConfig Result
The following output properties are available:
- Access
Token List<GetClaims Appid Token Config Access Token Claim>  - (Set of Object) A set of objects that are created when claims that are related to access tokens are mapped
 - Access
Token doubleExpires In  - (Number) The length of time for which access tokens are valid in seconds
 - Anonymous
Access boolEnabled  - (Bool) Enable anonymous access
 - Anonymous
Token doubleExpires In  - (Number) The length of time for which an anonymous token is valid in seconds
 - Id string
 - Id
Token List<GetClaims Appid Token Config Id Token Claim>  - (Set of Object) A set of objects that are created when claims that are related to identity tokens are mapped
 - Refresh
Token boolEnabled  - (Bool) Enable refresh token
 - Refresh
Token doubleExpires In  - (Number) The length of time for which refresh tokens are valid in seconds
 - Tenant
Id string 
- Access
Token []GetClaims Appid Token Config Access Token Claim  - (Set of Object) A set of objects that are created when claims that are related to access tokens are mapped
 - Access
Token float64Expires In  - (Number) The length of time for which access tokens are valid in seconds
 - Anonymous
Access boolEnabled  - (Bool) Enable anonymous access
 - Anonymous
Token float64Expires In  - (Number) The length of time for which an anonymous token is valid in seconds
 - Id string
 - Id
Token []GetClaims Appid Token Config Id Token Claim  - (Set of Object) A set of objects that are created when claims that are related to identity tokens are mapped
 - Refresh
Token boolEnabled  - (Bool) Enable refresh token
 - Refresh
Token float64Expires In  - (Number) The length of time for which refresh tokens are valid in seconds
 - Tenant
Id string 
- access
Token List<GetClaims Appid Token Config Access Token Claim>  - (Set of Object) A set of objects that are created when claims that are related to access tokens are mapped
 - access
Token DoubleExpires In  - (Number) The length of time for which access tokens are valid in seconds
 - anonymous
Access BooleanEnabled  - (Bool) Enable anonymous access
 - anonymous
Token DoubleExpires In  - (Number) The length of time for which an anonymous token is valid in seconds
 - id String
 - id
Token List<GetClaims Appid Token Config Id Token Claim>  - (Set of Object) A set of objects that are created when claims that are related to identity tokens are mapped
 - refresh
Token BooleanEnabled  - (Bool) Enable refresh token
 - refresh
Token DoubleExpires In  - (Number) The length of time for which refresh tokens are valid in seconds
 - tenant
Id String 
- access
Token GetClaims Appid Token Config Access Token Claim[]  - (Set of Object) A set of objects that are created when claims that are related to access tokens are mapped
 - access
Token numberExpires In  - (Number) The length of time for which access tokens are valid in seconds
 - anonymous
Access booleanEnabled  - (Bool) Enable anonymous access
 - anonymous
Token numberExpires In  - (Number) The length of time for which an anonymous token is valid in seconds
 - id string
 - id
Token GetClaims Appid Token Config Id Token Claim[]  - (Set of Object) A set of objects that are created when claims that are related to identity tokens are mapped
 - refresh
Token booleanEnabled  - (Bool) Enable refresh token
 - refresh
Token numberExpires In  - (Number) The length of time for which refresh tokens are valid in seconds
 - tenant
Id string 
- access_
token_ Sequence[Getclaims Appid Token Config Access Token Claim]  - (Set of Object) A set of objects that are created when claims that are related to access tokens are mapped
 - access_
token_ floatexpires_ in  - (Number) The length of time for which access tokens are valid in seconds
 - anonymous_
access_ boolenabled  - (Bool) Enable anonymous access
 - anonymous_
token_ floatexpires_ in  - (Number) The length of time for which an anonymous token is valid in seconds
 - id str
 - id_
token_ Sequence[Getclaims Appid Token Config Id Token Claim]  - (Set of Object) A set of objects that are created when claims that are related to identity tokens are mapped
 - refresh_
token_ boolenabled  - (Bool) Enable refresh token
 - refresh_
token_ floatexpires_ in  - (Number) The length of time for which refresh tokens are valid in seconds
 - tenant_
id str 
- access
Token List<Property Map>Claims  - (Set of Object) A set of objects that are created when claims that are related to access tokens are mapped
 - access
Token NumberExpires In  - (Number) The length of time for which access tokens are valid in seconds
 - anonymous
Access BooleanEnabled  - (Bool) Enable anonymous access
 - anonymous
Token NumberExpires In  - (Number) The length of time for which an anonymous token is valid in seconds
 - id String
 - id
Token List<Property Map>Claims  - (Set of Object) A set of objects that are created when claims that are related to identity tokens are mapped
 - refresh
Token BooleanEnabled  - (Bool) Enable refresh token
 - refresh
Token NumberExpires In  - (Number) The length of time for which refresh tokens are valid in seconds
 - tenant
Id String 
Supporting Types
GetAppidTokenConfigAccessTokenClaim      
- Destination
Claim string - (String) Defines the custom attribute that can override the current claim in token
 - Source string
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - Source
Claim string - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
- Destination
Claim string - (String) Defines the custom attribute that can override the current claim in token
 - Source string
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - Source
Claim string - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
- destination
Claim String - (String) Defines the custom attribute that can override the current claim in token
 - source String
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - source
Claim String - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
- destination
Claim string - (String) Defines the custom attribute that can override the current claim in token
 - source string
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - source
Claim string - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
- destination_
claim str - (String) Defines the custom attribute that can override the current claim in token
 - source str
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - source_
claim str - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
- destination
Claim String - (String) Defines the custom attribute that can override the current claim in token
 - source String
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - source
Claim String - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
GetAppidTokenConfigIdTokenClaim      
- Destination
Claim string - (String) Defines the custom attribute that can override the current claim in token
 - Source string
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - Source
Claim string - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
- Destination
Claim string - (String) Defines the custom attribute that can override the current claim in token
 - Source string
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - Source
Claim string - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
- destination
Claim String - (String) Defines the custom attribute that can override the current claim in token
 - source String
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - source
Claim String - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
- destination
Claim string - (String) Defines the custom attribute that can override the current claim in token
 - source string
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - source
Claim string - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
- destination_
claim str - (String) Defines the custom attribute that can override the current claim in token
 - source str
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - source_
claim str - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
- destination
Claim String - (String) Defines the custom attribute that can override the current claim in token
 - source String
 - (String) Defines the source of the claim. Options include: 
saml,cloud_directory,facebook,google,appid_custom, andattributes - source
Claim String - (String) Defines the claim as provided by the source. It can refer to the identity provider's user information or the user's App ID custom attributes
 
Package Details
- Repository
 - ibm ibm-cloud/terraform-provider-ibm
 - License
 - Notes
 - This Pulumi package is based on the 
ibmTerraform Provider.