glue:RefreshOAuth2Tokens is a Permissions management access-level action in the glue service. Grants permission to refresh the oauth2 tokens for connection during job execution
ARNs that glue:RefreshOAuth2Tokens can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants glue:RefreshOAuth2Tokens.
Filters access by tag key-value pairs attached to the resource
A minimal policy that allows glue:RefreshOAuth2Tokens. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowGlueRefreshOAuth2Tokens",
"Effect": "Allow",
"Action": "glue:RefreshOAuth2Tokens",
"Resource": "*"
}
]
}