Skill 2.3.1

Request and manage access to AI services.

Key Concepts

In commercial Regions, Amazon Bedrock no longer has a model access page on which each model is requested. Serverless models are enabled automatically on first invocation. For models sold through AWS Marketplace, the first call must come from a principal with aws-marketplace:Subscribe, aws-marketplace:Unsubscribe and aws-marketplace:ViewSubscriptions, after which other principals can invoke the model without those permissions. Anthropic models also require a one-time use case submission, made in the console or with PutUseCaseForModelAccess, and a submission from the organisation's management account is inherited by its member accounts. GetFoundationModelAvailability reports whether an agreement is available or still pending.

Because access is enabled on first use, restriction is done with IAM. An identity policy allows bedrock:InvokeModel and bedrock:InvokeModelWithResponseStream only on the foundation model and inference profile ARNs the application needs; these two actions also authorise the Converse and ConverseStream APIs. A service control policy that denies bedrock:InvokeModel on unapproved models blocks them across the organisation. Denying aws-marketplace:Subscribe alone does not block a model, because Bedrock starts the subscription automatically.

Amazon Bedrock API keys let tools authenticate with a bearer token instead of Signature Version 4. Short-term keys are generated from an existing principal's credentials and expire with that session, for at most 12 hours; long-term keys belong to an IAM user and are intended for exploration. Production code running on AWS should use its IAM role, and any long-term key should have an expiry date and be stored in Secrets Manager.

Access to other AI services follows the same model. Who may invoke an AgentCore Runtime agent is controlled by IAM (SigV4) or by a JSON Web Token from an identity provider such as Amazon Cognito. Kiro users sign in with AWS Builder ID, a social login or the organisation's identity provider, and administrators of enterprise subscriptions control which models and MCP servers users may use. AWS CloudTrail records each Bedrock API call with the caller's identity, so usage can be audited and unexpected callers detected.