aws.grafana.list_workspace_service_account_tokens
Example SQL Queries
SELECT * FROMaws.grafana.list_workspace_service_account_tokensWHERE"service_account_id" = 'VALUE'AND "workspace_id" = 'VALUE';Description
Returns a list of tokens for a workspace service account.
This does not return the key for each token. You cannot access keys after they are created. To create a new key, delete the token and recreate it.
Service accounts are only available for workspaces that are compatible with Grafana version 9 and above.
Table Definition
| Column Name | Column Data Type |
|---|---|
| service_account_id Required Input Column The ID of the service account where the tokens reside. | VARCHAR |
| workspace_id Required Input Column The ID of the workspace where the tokens reside. | VARCHAR |
| _aws_profile Input Column The AWS profile defines the AWS identity used. It can be defined via credentials or by assuming a IAM role. | STRUCT( |
Show child fields
| |
| _aws_region Input Column The AWS region to use. | VARCHAR |
| service_account_tokens An array of structures containing information about the tokens. | STRUCT( |
Show child fields
| |