q:CreateAuthGrant is a Write access-level action in the q service. Grants permission to create OAuth user in Amazon Q
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
To use q:CreateAuthGrant you may also need to grant:
A minimal policy that allows q:CreateAuthGrant. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowQCreateAuthGrant",
"Effect": "Allow",
"Action": "q:CreateAuthGrant",
"Resource": "*"
}
]
}