部署引擎
This provider is checked by default in the Node.js environment. To use the credentials file provider, simply add your access and secret keys to the ~/.aws/credentials file in the following format:
[default]
aws_access_key_id = AKID...
aws_secret_access_key = YOUR_SECRET_KEY
https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/SharedIniFileCredentials.html
该 npm 包使用的 es Module 方式导出,要使用高版本 Node.js 建议使用 14 以上。
注意 commonjs Module 混合引入问题。建议使用 import()