managedgrafana_create_workspace_service_account_token {paws.management} | R Documentation |
Creates a token that can be used to authenticate and authorize Grafana HTTP API operations for the given workspace service account
Description
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.
Usage
managedgrafana_create_workspace_service_account_token(
name,
secondsToLive,
serviceAccountId,
workspaceId
)
Arguments
name |
[required] A name for the token to create. |
secondsToLive |
[required] Sets how long the token will be valid, in seconds. You can set the time up to 30 days in the future. |
serviceAccountId |
[required] The ID of the service account for which to create a token. |
workspaceId |
[required] The ID of the workspace the service account resides within. |
[Package paws.management version 0.7.0 Index]