Skip to main content

applications_tokens

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

Overview

Nameapplications_tokens
TypeResource
Idazure.managed_applications.applications_tokens

Fields

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

NameAccessible byRequired ParamsDescription
listSELECTapplicationName, resourceGroupName, subscriptionIdList tokens for application.

SELECT examples

List tokens for application.

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