[root@uat-nanguaapp-mysql backup]# cat ~/.aws/config
[profile all_sdk]
region = us-west-1
output = json
[profile jfm_sdk]
region = us-east-1
output = json
[root@uat-nanguaapp-mysql backup]# cat ~/.aws/c
config credentials
[root@uat-nanguaapp-mysql backup]# cat ~/.aws/credentials
[all_sdk]
aws_access_key_id = ak
aws_secret_access_key = ck
[jfm_sdk]
aws_access_key_id = ak
aws_secret_access_key = ck
aws --profile all_sdk s3 sync s3://uat-app-downloader/jfm_01/ /data/backup/s3/ 桶文件同步到本地
标签:iam,aws,uat,access,key,工具,backup,sdk From: https://www.cnblogs.com/zhangcaiwang1/p/18033803