Skip to main content

applications_tokens

Creates, updates, deletes, gets or lists an applications_tokens resource.

Overview

Nameapplications_tokens
TypeResource
Idazure.managed_applications.applications_tokens

Fields

The following fields are returned by SELECT queries:

OK - Returns an array of managed identity tokens.

NameDatatypeDescription
accessTokenstringThe requested access token.
authorizationAudiencestringThe aud (audience) the access token was request for. This is the same as what was provided in the listTokens request.
expiresInstringThe number of seconds the access token will be valid.
expiresOnstringThe timespan when the access token expires. This is represented as the number of seconds from epoch.
notBeforestringThe timespan when the access token takes effect. This is represented as the number of seconds from epoch.
resourceIdstringThe Azure resource ID for the issued token. This is either the managed application ID or the user-assigned identity ID.
tokenTypestringThe type of the token.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, applicationNameList tokens for application.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
applicationNamestringThe name of the managed application.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

List tokens for application.

SELECT
accessToken,
authorizationAudience,
expiresIn,
expiresOn,
notBefore,
resourceId,
tokenType
FROM azure.managed_applications.applications_tokens
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND applicationName = '{{ applicationName }}' -- required
;