feat: make AWS credentials required in bedrock component (#5710)
1. Make aws_access_key_id field required 2. Make aws_secret_access_key field required
This commit is contained in:
parent
c39bb39772
commit
39ef9ba1f9
1 changed files with 2 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ class AmazonBedrockComponent(LCModelComponent):
|
|||
info="The access key for your AWS account."
|
||||
"Usually set in Python code as the environment variable 'AWS_ACCESS_KEY_ID'.",
|
||||
value="AWS_ACCESS_KEY_ID",
|
||||
required=True,
|
||||
),
|
||||
SecretStrInput(
|
||||
name="aws_secret_access_key",
|
||||
|
|
@ -33,6 +34,7 @@ class AmazonBedrockComponent(LCModelComponent):
|
|||
info="The secret key for your AWS account. "
|
||||
"Usually set in Python code as the environment variable 'AWS_SECRET_ACCESS_KEY'.",
|
||||
value="AWS_SECRET_ACCESS_KEY",
|
||||
required=True,
|
||||
),
|
||||
SecretStrInput(
|
||||
name="aws_session_token",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue