sagemaker:CallWithBearerToken is a Read access-level action in the sagemaker service. Grants permission to use bearer token in SageMaker Job and Inference runtime endpoints APIs
This action does not support resource-level permissions; use "Resource": "*" in your policy.
Keys you can use in the Condition block of a policy that grants sagemaker:CallWithBearerToken.
Filters access by the type of bearer token used in the request
A minimal policy that allows sagemaker:CallWithBearerToken. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowSagemakerCallWithBearerToken",
"Effect": "Allow",
"Action": "sagemaker:CallWithBearerToken",
"Resource": "*"
}
]
}