[GH-ISSUE #87] Do anything llm has capability to use IAM role to connect to aws bedrock #41

Closed
opened 2026-02-23 17:18:28 -05:00 by yindo · 1 comment
Owner

Originally created by @NihalKA on GitHub (Sep 4, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anythingllm-docs/issues/87

In anything llm ui is asking for aws accesskey id and secret key as a mandatory field, can I pass it as container or system variables(ACCESS_KEY and SECRET_KEY) to get connected instead of manually entering it via UI. Or can it assume a role so we can avoid access secret keys.?

Originally created by @NihalKA on GitHub (Sep 4, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anythingllm-docs/issues/87 In anything llm ui is asking for aws accesskey id and secret key as a mandatory field, can I pass it as container or system variables(ACCESS_KEY and SECRET_KEY) to get connected instead of manually entering it via UI. Or can it assume a role so we can avoid access secret keys.?
yindo closed this issue 2026-02-23 17:18:29 -05:00
Author
Owner

@timothycarambat commented on GitHub (Sep 4, 2024):

Yes, you can just set the env keys directly in the .env

LLM_PROVIDER='bedrock'
AWS_BEDROCK_LLM_ACCESS_KEY_ID=YOUR_KEY
AWS_BEDROCK_LLM_ACCESS_KEY=ACCESS_KEY_HERE
AWS_BEDROCK_LLM_REGION=us-west-2
AWS_BEDROCK_LLM_MODEL_PREFERENCE=meta.llama3-8b-instruct-v1:0
AWS_BEDROCK_LLM_MODEL_TOKEN_LIMIT=8191
@timothycarambat commented on GitHub (Sep 4, 2024): Yes, you can just set the env keys directly in the .env ```.env LLM_PROVIDER='bedrock' AWS_BEDROCK_LLM_ACCESS_KEY_ID=YOUR_KEY AWS_BEDROCK_LLM_ACCESS_KEY=ACCESS_KEY_HERE AWS_BEDROCK_LLM_REGION=us-west-2 AWS_BEDROCK_LLM_MODEL_PREFERENCE=meta.llama3-8b-instruct-v1:0 AWS_BEDROCK_LLM_MODEL_TOKEN_LIMIT=8191 ```
yindo changed title from Do anything llm has capability to use IAM role to connect to aws bedrock to [GH-ISSUE #87] Do anything llm has capability to use IAM role to connect to aws bedrock 2026-06-05 15:22:01 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anythingllm-docs#41