applications_tokens
Creates, updates, deletes, gets or lists an applications_tokens
resource.
Overview
Name | applications_tokens |
Type | Resource |
Id | azure.managed_applications.applications_tokens |
Fields
The following fields are returned by SELECT
queries:
- list
OK - Returns an array of managed identity tokens.
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
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | subscriptionId , resourceGroupName , applicationName | List 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.
Name | Datatype | Description |
---|---|---|
applicationName | string | The name of the managed application. |
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- list
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
;