Creates a token that can be used to authenticate and authorize Grafana HTTP API operations for the given workspace service account. The service account acts as a user for the API operations, and defines the permissions that are used by the API.
See https://www.paws-r-sdk.com/docs/managedgrafana_create_workspace_service_account_token/ for full documentation.
managedgrafana_create_workspace_service_account_token(
name,
secondsToLive,
serviceAccountId,
workspaceId
)
[required] A name for the token to create.
[required] Sets how long the token will be valid, in seconds. You can set the time up to 30 days in the future.
[required] The ID of the service account for which to create a token.
[required] The ID of the workspace the service account resides within.