AWS bedrock: Clarify Bedrock API key Region scoping for short- and long-term keys
Summary
Rewrites the short-term API key note to state the key works only in the Region where it was generated (generate a new key to use another Region), and removes the long-term key paragraph that described the cross-Region failure error.
Security assessment
The edit documents that Bedrock API keys are Region-scoped credentials and that a key from another Region is rejected, which is a credential-scoping control; it is a wording/accuracy clarification rather than a fix for a specific vulnerability or incident.
Evidence
+The key expires when your console session expires (maximum 12 hours). You can use a short-term API key only in the AWS Region where you generated it. To use the key in a different Region, change to that Region in the console and generate a new key.
Diff
diff --git a/bedrock/latest/userguide/api-keys.md b/bedrock/latest/userguide/api-keys.md index 58f8f47..6f72dbb 100644 --- a//bedrock/latest/userguide/api-keys.md +++ b//bedrock/latest/userguide/api-keys.md @@ -40 +40 @@ Console -The key expires when your console session expires (max 12 hours). To generate a key for a different Region, switch Regions in the console first. +The key expires when your console session expires (maximum 12 hours). You can use a short-term API key only in the AWS Region where you generated it. To use the key in a different Region, change to that Region in the console and generate a new key. @@ -119,2 +118,0 @@ Console -A long-term key works only in the Region you generated it in. To generate a key for a different Region, switch Regions in the console first. A request that uses a key from another Region fails with `Credential should be scoped to a valid region`, even when the model ID and endpoint URL are correct. -