|
71 | 71 | description: If true, the Bedrock client loads credentials through a default credentials provider. If false, it uses the basic authentication method (access key and secret key).
|
72 | 72 | type: boolean
|
73 | 73 | default: false
|
| 74 | + useProfileCredentialsProvider: |
| 75 | + title: Profile Credentials Provider |
| 76 | + description: Set whether the Bedrock client should expect to load credentials through a profile credentials provider. |
| 77 | + type: boolean |
| 78 | + default: false |
| 79 | + useSessionCredentials: |
| 80 | + title: Session Credentials |
| 81 | + description: Set whether the Bedrock client should expect to use Session Credentials. This is useful in situation in which the user needs to assume a IAM role for doing operations in Bedrock. |
| 82 | + type: boolean |
| 83 | + default: false |
| 84 | + profileCredentialsName: |
| 85 | + title: Profile Credentials Name |
| 86 | + description: If using a profile credentials provider this parameter will set the profile name. |
| 87 | + type: string |
| 88 | + sessionToken: |
| 89 | + title: Session Token |
| 90 | + description: Amazon AWS Session Token used when the user needs to assume a IAM role. |
| 91 | + type: string |
| 92 | + format: password |
| 93 | + x-descriptors: |
| 94 | + - urn:camel:group:credentials |
74 | 95 | uriEndpointOverride:
|
75 | 96 | title: Overwrite Endpoint URI
|
76 | 97 | description: The overriding endpoint URI. To use this option, you must also select the `overrideEndpoint` option.
|
@@ -103,5 +124,9 @@ spec:
|
103 | 124 | modelId: "{{modelId}}"
|
104 | 125 | operation: invokeTextModel
|
105 | 126 | useDefaultCredentialsProvider: "{{useDefaultCredentialsProvider}}"
|
| 127 | + useProfileCredentialsProvider: "{{useProfileCredentialsProvider}}" |
| 128 | + useSessionCredentials: "{{useSessionCredentials}}" |
106 | 129 | uriEndpointOverride: "{{?uriEndpointOverride}}"
|
| 130 | + profileCredentialsName: "{{?profileCredentialsName}}" |
| 131 | + sessionToken: "{{?sessionToken}}" |
107 | 132 | overrideEndpoint: "{{overrideEndpoint}}"
|
0 commit comments