Skip to content

Commit

Permalink
fix: aws bedrock load db credentials issue (langflow-ai#4537)
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinjosechittilappilly authored and diogocabral committed Nov 26, 2024
1 parent 0e2b8b1 commit b80456c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand Down

0 comments on commit b80456c

Please # to comment.