applications_tokens
Creates, updates, deletes, gets or lists a applications_tokens
resource.
Overview
Name | applications_tokens |
Type | Resource |
Id | azure.managed_applications.applications_tokens |
Fields
Name | Datatype | Description |
---|---|---|
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. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | applicationName, resourceGroupName, subscriptionId | List 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 }}';