fix: aws bedrock load db credentials issue (#4537)
This commit is contained in:
parent
f05decb7fc
commit
01431ee369
2 changed files with 2 additions and 4 deletions
|
|
@ -35,7 +35,7 @@ class AmazonBedrockEmbeddingsComponent(LCModelComponent):
|
||||||
SecretStrInput(
|
SecretStrInput(
|
||||||
name="aws_session_token",
|
name="aws_session_token",
|
||||||
display_name="AWS Session Token",
|
display_name="AWS Session Token",
|
||||||
advanced=True,
|
advanced=False,
|
||||||
info="The session key for your AWS account. "
|
info="The session key for your AWS account. "
|
||||||
"Only needed for temporary credentials. "
|
"Only needed for temporary credentials. "
|
||||||
"Usually set in Python code as the environment variable 'AWS_SESSION_TOKEN'.",
|
"Usually set in Python code as the environment variable 'AWS_SESSION_TOKEN'.",
|
||||||
|
|
|
||||||
|
|
@ -38,11 +38,10 @@ class AmazonBedrockComponent(LCModelComponent):
|
||||||
SecretStrInput(
|
SecretStrInput(
|
||||||
name="aws_session_token",
|
name="aws_session_token",
|
||||||
display_name="AWS Session Token",
|
display_name="AWS Session Token",
|
||||||
advanced=True,
|
advanced=False,
|
||||||
info="The session key for your AWS account. "
|
info="The session key for your AWS account. "
|
||||||
"Only needed for temporary credentials. "
|
"Only needed for temporary credentials. "
|
||||||
"Usually set in Python code as the environment variable 'AWS_SESSION_TOKEN'.",
|
"Usually set in Python code as the environment variable 'AWS_SESSION_TOKEN'.",
|
||||||
value="AWS_SESSION_TOKEN",
|
|
||||||
load_from_db=False,
|
load_from_db=False,
|
||||||
),
|
),
|
||||||
SecretStrInput(
|
SecretStrInput(
|
||||||
|
|
@ -52,7 +51,6 @@ class AmazonBedrockComponent(LCModelComponent):
|
||||||
info="The name of the profile to use from your "
|
info="The name of the profile to use from your "
|
||||||
"~/.aws/credentials file. "
|
"~/.aws/credentials file. "
|
||||||
"If not provided, the default profile will be used.",
|
"If not provided, the default profile will be used.",
|
||||||
value="AWS_CREDENTIALS_PROFILE_NAME",
|
|
||||||
load_from_db=False,
|
load_from_db=False,
|
||||||
),
|
),
|
||||||
DropdownInput(
|
DropdownInput(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue