AWS bedrock documentation change
Summary
Corrected article usage and added API key replacement comment in code sample
Security assessment
Added comment emphasizing replacement of placeholder API key value improves security documentation clarity but does not address a specific vulnerability.
Diff
diff --git a/bedrock/latest/userguide/model-parameters-openai.md b/bedrock/latest/userguide/model-parameters-openai.md index 4e3254f1b..a43855bea 100644 --- a//bedrock/latest/userguide/model-parameters-openai.md +++ b//bedrock/latest/userguide/model-parameters-openai.md @@ -114 +114 @@ Before trying out these examples, check that you've fulfilled the prerequisites: - * **Authentication** – You can authenticate with either your AWS credentials or with a Amazon Bedrock API key. + * **Authentication** – You can authenticate with either your AWS credentials or with an Amazon Bedrock API key. @@ -116 +116 @@ Before trying out these examples, check that you've fulfilled the prerequisites: -Set up your AWS credentials or generate a Amazon Bedrock API key to authenticate your request. +Set up your AWS credentials or generate an Amazon Bedrock API key to authenticate your request. @@ -153 +153 @@ The following Python script calls the Create chat completion API with the OpenAI - api_key="$AWS_BEARER_TOKEN_BEDROCK" + api_key="$AWS_BEARER_TOKEN_BEDROCK" # Replace with actual API key