aws工具的iam使用方法
[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 jam_1080p_04 s3 sync s3://jam-app-downloader/jam_1080p_04/ /data/qiezi/