1. Packages
  2. Azure Native
  3. API Docs
  4. solutions
  5. listApplicationTokens
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.solutions.listApplicationTokens

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

List tokens for application.

Uses Azure REST API version 2021-07-01.

Other available API versions: 2023-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native solutions [ApiVersion]. See the version guide for details.

Using listApplicationTokens

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 listApplicationTokens(args: ListApplicationTokensArgs, opts?: InvokeOptions): Promise<ListApplicationTokensResult>
function listApplicationTokensOutput(args: ListApplicationTokensOutputArgs, opts?: InvokeOptions): Output<ListApplicationTokensResult>
Copy
def list_application_tokens(application_name: Optional[str] = None,
                            authorization_audience: Optional[str] = None,
                            resource_group_name: Optional[str] = None,
                            user_assigned_identities: Optional[Sequence[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> ListApplicationTokensResult
def list_application_tokens_output(application_name: Optional[pulumi.Input[str]] = None,
                            authorization_audience: Optional[pulumi.Input[str]] = None,
                            resource_group_name: Optional[pulumi.Input[str]] = None,
                            user_assigned_identities: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[ListApplicationTokensResult]
Copy
func ListApplicationTokens(ctx *Context, args *ListApplicationTokensArgs, opts ...InvokeOption) (*ListApplicationTokensResult, error)
func ListApplicationTokensOutput(ctx *Context, args *ListApplicationTokensOutputArgs, opts ...InvokeOption) ListApplicationTokensResultOutput
Copy

> Note: This function is named ListApplicationTokens in the Go SDK.

public static class ListApplicationTokens 
{
    public static Task<ListApplicationTokensResult> InvokeAsync(ListApplicationTokensArgs args, InvokeOptions? opts = null)
    public static Output<ListApplicationTokensResult> Invoke(ListApplicationTokensInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListApplicationTokensResult> listApplicationTokens(ListApplicationTokensArgs args, InvokeOptions options)
public static Output<ListApplicationTokensResult> listApplicationTokens(ListApplicationTokensArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:solutions:listApplicationTokens
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ApplicationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed application.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AuthorizationAudience string
The authorization audience.
UserAssignedIdentities List<string>
The user assigned identities.
ApplicationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed application.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
AuthorizationAudience string
The authorization audience.
UserAssignedIdentities []string
The user assigned identities.
applicationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the managed application.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
authorizationAudience String
The authorization audience.
userAssignedIdentities List<String>
The user assigned identities.
applicationName
This property is required.
Changes to this property will trigger replacement.
string
The name of the managed application.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
authorizationAudience string
The authorization audience.
userAssignedIdentities string[]
The user assigned identities.
application_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the managed application.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
authorization_audience str
The authorization audience.
user_assigned_identities Sequence[str]
The user assigned identities.
applicationName
This property is required.
Changes to this property will trigger replacement.
String
The name of the managed application.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
authorizationAudience String
The authorization audience.
userAssignedIdentities List<String>
The user assigned identities.

listApplicationTokens Result

The following output properties are available:

Value []ManagedIdentityTokenResponse
The array of managed identity tokens.
value List<ManagedIdentityTokenResponse>
The array of managed identity tokens.
value ManagedIdentityTokenResponse[]
The array of managed identity tokens.
value Sequence[ManagedIdentityTokenResponse]
The array of managed identity tokens.
value List<Property Map>
The array of managed identity tokens.

Supporting Types

ManagedIdentityTokenResponse

AccessToken string
The requested access token.
AuthorizationAudience string
The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
ExpiresIn string
The number of seconds the access token will be valid.
ExpiresOn string
The timespan when the access token expires. This is represented as the number of seconds from epoch.
NotBefore string
The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
ResourceId string
The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
TokenType string
The type of the token.
AccessToken string
The requested access token.
AuthorizationAudience string
The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
ExpiresIn string
The number of seconds the access token will be valid.
ExpiresOn string
The timespan when the access token expires. This is represented as the number of seconds from epoch.
NotBefore string
The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
ResourceId string
The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
TokenType string
The type of the token.
accessToken String
The requested access token.
authorizationAudience String
The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
expiresIn String
The number of seconds the access token will be valid.
expiresOn String
The timespan when the access token expires. This is represented as the number of seconds from epoch.
notBefore String
The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
resourceId String
The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
tokenType String
The type of the token.
accessToken string
The requested access token.
authorizationAudience string
The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
expiresIn string
The number of seconds the access token will be valid.
expiresOn string
The timespan when the access token expires. This is represented as the number of seconds from epoch.
notBefore string
The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
resourceId string
The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
tokenType string
The type of the token.
access_token str
The requested access token.
authorization_audience str
The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
expires_in str
The number of seconds the access token will be valid.
expires_on str
The timespan when the access token expires. This is represented as the number of seconds from epoch.
not_before str
The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
resource_id str
The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
token_type str
The type of the token.
accessToken String
The requested access token.
authorizationAudience String
The aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
expiresIn String
The number of seconds the access token will be valid.
expiresOn String
The timespan when the access token expires. This is represented as the number of seconds from epoch.
notBefore String
The timespan when the access token takes effect. This is represented as the number of seconds from epoch.
resourceId String
The Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
tokenType String
The type of the token.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi