grafana:CreateWorkspaceApiKey is a Write access-level action in the grafana service. Grants permission to create API keys for a workspace
ARNs that grafana:CreateWorkspaceApiKey can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants grafana:CreateWorkspaceApiKey.
Filters access by actions based on tag key-value pairs attached to the resource
A minimal policy that allows grafana:CreateWorkspaceApiKey. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowGrafanaCreateWorkspaceApiKey",
"Effect": "Allow",
"Action": "grafana:CreateWorkspaceApiKey",
"Resource": "*"
}
]
}