fix: aws bedrock load db credentials issue (#4537)

This commit is contained in:
Edwin Jose 2024-11-12 18:25:55 -05:00 committed by GitHub
commit 01431ee369
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -35,7 +35,7 @@ class AmazonBedrockEmbeddingsComponent(LCModelComponent):
SecretStrInput(
name="aws_session_token",
display_name="AWS Session Token",
advanced=True,
advanced=False,
info="The session key for your AWS account. "
"Only needed for temporary credentials. "
"Usually set in Python code as the environment variable 'AWS_SESSION_TOKEN'.",

View file

@ -38,11 +38,10 @@ class AmazonBedrockComponent(LCModelComponent):
SecretStrInput(
name="aws_session_token",
display_name="AWS Session Token",
advanced=True,
advanced=False,
info="The session key for your AWS account. "
"Only needed for temporary credentials. "
"Usually set in Python code as the environment variable 'AWS_SESSION_TOKEN'.",
value="AWS_SESSION_TOKEN",
load_from_db=False,
),
SecretStrInput(
@ -52,7 +51,6 @@ class AmazonBedrockComponent(LCModelComponent):
info="The name of the profile to use from your "
"~/.aws/credentials file. "
"If not provided, the default profile will be used.",
value="AWS_CREDENTIALS_PROFILE_NAME",
load_from_db=False,
),
DropdownInput(