mirror of
https://github.com/executeautomation/mcp-database-server.git
synced 2025-12-09 21:12:57 +08:00
docs: Add AWS credentials configuration prerequisites
- Document requirement for AWS credentials configuration using default provider chain - Add examples for different credential configuration methods (aws configure, env vars, IAM roles) - Update both README.md and connection reference documentation - Clarify that RDS Signer uses default credential provider chain as per AWS documentation
This commit is contained in:
@@ -94,6 +94,12 @@ node dist/src/index.js --mysql --host localhost --database sample_db --port 3306
|
||||
|
||||
### AWS IAM Authentication Example
|
||||
|
||||
**Prerequisites:** AWS credentials must be configured using the default credential provider chain:
|
||||
- `aws configure` (default profile)
|
||||
- `AWS_PROFILE=myprofile` environment variable
|
||||
- `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` environment variables
|
||||
- IAM roles (if running on EC2)
|
||||
|
||||
```bash
|
||||
node dist/src/index.js --mysql --aws-iam-auth --host rds-endpoint.region.rds.amazonaws.com --database sample_db --user aws-username --aws-region us-east-1
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user