Repository navigation
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The IAM guidance incorrectly scopes listing actions to specific ARNs, causing AccessDenied errors unless those actions retain wildcard resources in separate statements across the affected pages.
1 open issue
What changed in this PR
Updates Bedrock IAM guidance across Portkey, AI Gateway, and legacy documentation to include token-counting permissions and feature-specific policies.
Changes:
- Adds
bedrock:CountTokensto assumed-role, EKS, and AWS Marketplace policy examples. - Documents optional feature permissions and provides combined IAM policies.
- Adds permission guidance to Count Tokens and Claude Code integration pages.
| File | Description |
|---|---|
virtual_key_old/product/enterprise-offering/cloud-marketplace/aws.mdx |
Adds CountTokens to the legacy Marketplace policy. |
virtual_key_old/product/ai-gateway/virtual-keys/bedrock-amazon-assumed-role.mdx |
Expands legacy assumed-role permissions guidance. |
self-hosting/hybrid-deployments/aws/marketplace.mdx |
Adds CountTokens to the Marketplace deployment policy. |
self-hosting/hybrid-deployments/aws/eks.mdx |
Adds CountTokens to the EKS policy. |
product/model-catalog/connect-bedrock-with-amazon-assumed-role.mdx |
Adds token-counting and optional-feature policies. |
product/enterprise-offering/cloud-marketplace/aws.mdx |
Adds CountTokens to the enterprise Marketplace policy. |
product/ai-gateway/virtual-keys/bedrock-amazon-assumed-role.mdx |
Expands virtual-key assumed-role permissions guidance. |
integrations/llms/bedrock/count-tokens.mdx |
Documents the required CountTokens permission. |
integrations/libraries/claude-code-bedrock.mdx |
Adds Claude Code IAM prerequisites. |
aigw/self-hosting/hybrid-deployments/aws/eks.mdx |
Mirrors the EKS CountTokens permission. |
aigw/product/model-catalog/connect-bedrock-with-amazon-assumed-role.mdx |
Mirrors expanded model-catalog IAM guidance. |
aigw/product/ai-gateway/virtual-keys/bedrock-amazon-assumed-role.mdx |
Mirrors expanded virtual-key IAM guidance. |
aigw/integrations/libraries/claude-code-bedrock.mdx |
Mirrors Claude Code IAM prerequisites. |
Review effort: Balanced
| } | ||
| ``` | ||
|
|
||
| Replace `<bucket>`, `<account_id>` and `<bedrock_service_role>` with your own values, and narrow each `Resource` to the model, inference profile and job ARNs you actually use. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.