bedrock-agentcore:CompleteResourceTokenAuth is a Read access-level action in the bedrock-agentcore service. Grants permission to retrieve access token with OAuth2 for 3LO flow to access external resource
ARNs that bedrock-agentcore:CompleteResourceTokenAuth can be scoped to in an IAM policy.
Keys you can use in the Condition block of a policy that grants bedrock-agentcore:CompleteResourceTokenAuth.
Filters access by the audience claim (aud) in the JWT passed in the request
Filters access by the client_id claim in the JWT passed in the request
Filters access by the issuer (iss) claim present in the JWT passed in the request
Filters access by the scope claim in the JWT passed in the request
Filters access by the subject claim (sub) in the JWT passed in the request
Filters access by the static user ID value passed in the request
Filters access by having actions based on the tag value associated with the resource
A minimal policy that allows bedrock-agentcore:CompleteResourceTokenAuth. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowBedrockagentcoreCompleteResourceTokenAuth",
"Effect": "Allow",
"Action": "bedrock-agentcore:CompleteResourceTokenAuth",
"Resource": "*"
}
]
}