Commit ce6263a
aws-agent-toolkit: accept AWS access keys as saved credentials (#23)
* Rename aws-core to aws-agent-toolkit and match the toolkit's auth model
The plugin is the Agent Toolkit for AWS, so name the card after it rather
than AWS Core. Credentials come from the standard AWS chain, and the
toolkit selects profiles via AWS_MCP_PROXY_PROFILES, so replace the
AWS_PROFILE entry and let both env values default to empty when the user
has saved nothing.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* Describe AWS_REGION as a fallback, not an override
Live-tested the config against the proxy. AWS_MCP_PROXY_PROFILES takes a
space-separated list and enables per-call switching via the aws_profile
tool parameter, and determine_aws_region() reads the profile's region
first and only falls back to AWS_REGION when the profile sets none, so
AWS_REGION does not override a profile region. Say both accurately.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* Accept AWS access keys as saved credentials
Users who have no shared config, SSO session or instance role had no way
to give the toolkit credentials through the plugin. Declare the three
standard env vars so keys can be supplied directly, in the ${NAME:-}
form: botocore gates the env provider on a truthy access key, so an
empty value falls through to the normal chain, while an unsubstituted
bare ${NAME} literal would count as a real key and shadow credentials
that were otherwise working.
Generated with [Devin](https://devin.ai)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
---------
Co-authored-by: Brian Smitches <smitches@mac.lan>
Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 64518c7 commit ce6263a
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
0 commit comments