Skip to content

Commit 359eb28

Browse files
committed
Update bedrock document
Signed-off-by: Baojun Jiang <[email protected]>
1 parent 7a28ae7 commit 359eb28

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/bedrock.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ The `region` property is compulsory.
7676
AWS credentials are resolved in the following order:
7777

7878
1. Spring-AI Bedrock `spring.ai.bedrock.aws.access-key` and `spring.ai.bedrock.aws.secret-key` properties.
79-
2. Spring-AI Bedrock `spring.ai.bedrock.aws.profile.name`
79+
2. Spring-AI Bedrock `spring.ai.bedrock.aws.profile.name`, If `spring.ai.bedrock.aws.profile.credentials-path` and `spring.ai.bedrock.aws.profile.configuration-path` are not specified, Spring AI use the standard AWS shared files: `~/.aws/credentials` for credentials and `~/.aws/config` for configuration.
8080
3. Java System Properties - `aws.accessKeyId` and `aws.secretAccessKey`.
8181
4. Environment Variables - `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY`.
8282
5. Web Identity Token credentials from system properties or environment variables.
83-
6. If `spring.ai.bedrock.aws.profile.credentials-path` and `spring.ai.bedrock.aws.profile.configuration-path` are not specified, Spring AI use the standard AWS shared files: `~/.aws/credentials` for credentials and `~/.aws/config` for configuration, which are used by all AWS SDKs and the AWS CLI.
83+
6. Credential profiles file at the default location (`~/.aws/credentials`) shared by all AWS SDKs and the AWS CLI.
8484
7. Credentials delivered through the Amazon EC2 container service if the `AWS_CONTAINER_CREDENTIALS_RELATIVE_URI` environment variable is set and the security manager has permission to access the variable.
8585
8. Instance profile credentials delivered through the Amazon EC2 metadata service or set the `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables.
8686

spring-ai-docs/src/main/antora/modules/ROOT/pages/api/chat/bedrock-converse.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ The prefix `spring.ai.bedrock.aws` is the property prefix to configure the conne
8080
| spring.ai.bedrock.aws.asyncReadTimeout | Max duration spent reading asynchronous responses | 30s
8181
| spring.ai.bedrock.aws.access-key | AWS access key | -
8282
| spring.ai.bedrock.aws.secret-key | AWS secret key | -
83+
| spring.ai.bedrock.aws.session-token | AWS session token for temporary credentials | -
8384
| spring.ai.bedrock.aws.profile.name | AWS profile name. | -
8485
| spring.ai.bedrock.aws.profile.credentials-path | AWS credentials file path. | -
8586
| spring.ai.bedrock.aws.profile.configuration-path | AWS config file path. | -
86-
| spring.ai.bedrock.aws.session-token | AWS session token for temporary credentials | -
8787
|====
8888

8989
[NOTE]

0 commit comments

Comments
 (0)